生产监控以改进测试套件
Production Monitoring to Improve Test Suites
摘要:
在本文中,我们建议使用生产执行,以提高测试质量的某些方法感兴趣的开发人员。这些方法可以是现有测试套件未涵盖的方法,也可以是测试较差的方法。我们设计了一种称为PANKTI的方法,它可以监控应用程序在生产中执行,然后自动生成差分单元测试,以及从收集到的数据派生的预言机。PANKTI的监控和生成集中在一种程序设计语言Java上。我们评估它的三个现实世界中,开源项目:视频会议系统,PDF操作库,和电子商务应用程序。我们表明,PANKTI是能够产生差分单元测试通过监测目标方法在生产中,所产生的测试,提高质量的测试套件的应用程序正在考虑。
英文摘要:
In this paper, we propose to use production executions to improve the quality of testing for certain methods of interest for developers. These methods can be methods that are not covered by the existing test suite, or methods that are poorly tested. We devise an approach called PANKTI which monitors applications as they execute in production, and then automatically generates differential unit tests, as well as derived oracles, from the collected data. PANKTI's monitoring and generation focuses on one single programming language, Java. We evaluate it on three real-world, open-source projects: a videoconferencing system, a PDF manipulation library, and an e-commerce application. We show that PANKTI is able to generate differential unit tests by monitoring target methods in production, and that the generated tests improve the quality of the test suite of the application under consideration.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。