论文标题

Pynguin:Python的自动化单元测试生成

Pynguin: Automated Unit Test Generation for Python

论文作者

Lukasczyk, Stephan, Fraser, Gordon

论文摘要

自动化单元测试生成是一种众所周知的方法,旨在减少开发人员手动编写测试的努力。先前的研究主要集中在Java等静态打字的编程语言上。但是,实际上,在过去的十年中,动态打字的语言在受欢迎程度上却巨大。这也介绍了对这些语言的测试生成的工具和研究的需求。我们介绍了Pynguin,这是Python的可扩展测试生成框架,该框架生成具有高码覆盖范围的回归测试。 Pynguin旨在容易被从业者使用。允许研究人员适应其需求并实现未来的研究也是可扩展的。我们在https://youtu.be/uigrg25vts0上提供Pynguin的演示;更多信息,文档,工具及其源代码可在https://www.pynguin.eu上获得。

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.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源