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]
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
{"_id":"BQFZZmsAhpqtDeSzW","bibbaseid":"gordon-towardspropertybasedtestsinnaturallanguage-2022","author_short":["Gordon, C. S."],"bibdata":{"bibtype":"inproceedings","type":"inproceedings","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":[{"propositions":[],"lastnames":["Gordon"],"firstnames":["Colin","S."],"suffixes":[]}],"month":"May","year":"2022","note":"arXiv:2202.03616 [cs]","keywords":"Computer Science - Computation and Language, Computer Science - Software Engineering","pages":"111–115","bibtex":"@inproceedings{gordon_towards_2022,\n\ttitle = {Towards {Property}-{Based} {Tests} in {Natural} {Language}},\n\turl = {http://arxiv.org/abs/2202.03616},\n\tdoi = {10.1145/3510455.3512781},\n\tabstract = {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.},\n\turldate = {2024-09-24},\n\tbooktitle = {Proceedings of the {ACM}/{IEEE} 44th {International} {Conference} on {Software} {Engineering}: {New} {Ideas} and {Emerging} {Results}},\n\tauthor = {Gordon, Colin S.},\n\tmonth = may,\n\tyear = {2022},\n\tnote = {arXiv:2202.03616 [cs]},\n\tkeywords = {Computer Science - Computation and Language, Computer Science - Software Engineering},\n\tpages = {111--115},\n}\n\n\n\n","author_short":["Gordon, C. S."],"key":"gordon_towards_2022","id":"gordon_towards_2022","bibbaseid":"gordon-towardspropertybasedtestsinnaturallanguage-2022","role":"author","urls":{"Paper":"http://arxiv.org/abs/2202.03616"},"keyword":["Computer Science - Computation and Language","Computer Science - Software Engineering"],"metadata":{"authorlinks":{}}},"bibtype":"inproceedings","biburl":"https://bibbase.org/zotero/abhishek-p","dataSources":["h7kKWXpJh2iaX92T5"],"keywords":["computer science - computation and language","computer science - software engineering"],"search_terms":["towards","property","based","tests","natural","language","gordon"],"title":"Towards Property-Based Tests in Natural Language","year":2022}