Pynguin: Automated Unit Test Generation for PythonConference: 44th International Conference on Software Engineering Companion; May 21–29, 2022; Pittsburgh, PA, USA44th International Conference on Software Engineering Companion (ICSE ’22 Companion), May 21–29, 2022, Pittsburgh, PA, USAPrice: 15.00DOI: 10.1145/3510454.3516829ISBN: 978-1-4503-9223-5/22/05CCS: Software and its engineering Search-based software engineeringCCS: Software and its engineering Software testing and debuggingCCS: Software and its engineering Software maintenance tools
Stephan Lukasczyk email: OrcID: 0000-0002-0092-3476 Affiliation: University of Passau , Passau , Germany and Gordon Fraser email: OrcID: 0000-0002-4364-6595 Affiliation: University of Passau , Passau , Germany
Abstract
Automated unit test generation is a well-known methodology aiming to reduce the developers’ effort of writing tests manually. Prior research focused mainly on statically typed programming languages like Java. In practice, however, dynamically typed languages have received a huge gain in popularity over the last decade. This introduces the need for tools and research on test generation for these languages, too. We introduce Pynguin, an extendable test-generation framework for Python, which generates regression tests with high code coverage. Pynguin is designed to be easily usable by practitioners; it is also extensible to allow researchers to adapt it for their needs and to enable future research. We provide a demo of Pynguin at https://youtu.be/UiGrG25Vts0; further information, documentation, the tool, and its source code are available at https://www.pynguin.eu.
原文 arXiv:2202.05218;中英对照 + 大白话阅读 https://aha.fim.ai/paper/2202.05218v1