构建非常小的测试套件(使用Snap)
Building Very Small Test Suites (with Snap)
摘要:
软件现在是如此的庞大和复杂,需要额外的架构来指导定理证明器,因为他们试图生成测试套件。例如,SNAP测试套件生成器(本文中介绍的)将Z3定理证明器与以下策略相结合:在一些随机选择的有效测试中看到的平均值周围进行采样。这种策略非常有效。对于27个具有多达50万个变量的真实世界程序,SNAP发现的测试套件比现有技术的测试套件小10到750倍。此外,SNAP的运行速度更快,并且(与以前的工作不同)生成100%有效的测试。
英文摘要:
Software is now so large and complex that additional architecture is needed to guide theorem provers as they try to generate test suites. For example, the SNAP test suite generator (introduced in this paper) combines the Z3 theorem prover with the following tactic: sample around the average values seen in a few randomly selected valid tests. This tactic is remarkably effective. For 27 real-world programs with up to half a million variables, SNAP found test suites which were 10 to 750 smaller times than those found by the prior state-of-the-art. Also, SNAP ran orders of magnitude faster and (unlike prior work) generated 100% valid tests.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。