Towards Property-Based Tests in Natural Language
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 7 of its 66 references that are in the map. First posted on arXiv 8 Feb 2022.
Builds on
7 of 66 references.
References · 7
- 2019What BERT is not: Lessons from a new suite of psycholinguistic diagnostics for language modelscited by 317
- 2017A Survey of Machine Learning for Big Code and Naturalnesscited by 220
- 2020Improved Code Summarization via a Graph Neural Networkcited by 79
- 2019A Neural Model for Generating Natural Language Summaries of Program Subroutinescited by 76
- 2017The Parallel Meaning Bank: Towards a Multilingual Corpus of Translations Annotated with Compositional Meaning Representationscited by 41
- 2017A* CCG Parsing with a Supertag and Dependency Factored Modelcited by 22
- 2021A CCG-Based Version of the DisCoCat Frameworkcited by 16
Built on by
Citing papers per year: 2023: 1.
1 paper.
- 2023Trustworthy Formal Natural Language Specificationscited by 0
- 2023Trustworthy Formal Natural Language Specifications5 Oct 2023