Towards Property-Based Tests in Natural Language. Gordon, C. S. In Proceedings of the ACM/IEEE 44th International Conference on Software Engineering: New Ideas and Emerging Results, pages 111–115, May, 2022. arXiv:2202.03616 [cs]
Towards Property-Based Tests in Natural Language [link]Paper  doi  abstract   bibtex   
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.
@inproceedings{gordon_towards_2022,
	title = {Towards {Property}-{Based} {Tests} in {Natural} {Language}},
	url = {http://arxiv.org/abs/2202.03616},
	doi = {10.1145/3510455.3512781},
	abstract = {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.},
	urldate = {2024-09-24},
	booktitle = {Proceedings of the {ACM}/{IEEE} 44th {International} {Conference} on {Software} {Engineering}: {New} {Ideas} and {Emerging} {Results}},
	author = {Gordon, Colin S.},
	month = may,
	year = {2022},
	note = {arXiv:2202.03616 [cs]},
	keywords = {Computer Science - Computation and Language, Computer Science - Software Engineering},
	pages = {111--115},
}

Downloads: 0