计算机科学 > 软件工程
[提交于 2022年2月14日]
标题:Towards Property-Based Tests in Natural Language
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We consider a new approach to generate tests from natural language. Rather than relying on machine learning or templated extraction from structured comments, we propose to apply classic ideas from linguistics to translate natural-language sentences into executable tests. This paper explores the application of combinatory categorial grammars (CCGs) to generating property-based tests. Our prototype is able to generate tests from English descriptions for each example in a textbook chapter on property-based testing.
提交历史
来自:Colin Gordon[v1] 2022年2月14日 星期一 00:00:00 UTC