arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2401.01073cs.PLcs.SE
收藏

驯服野兽:使用 Coyote C++ 实现全自动化单元测试

Taming the Beast: Fully Automated Unit Testing with Coyote C++

Sanghoon Rho, Philipp Martens, Seungcheol Shin, Yeoneo Kim

AI总结:

本文提出 Coyote C++,一个面向 C 和 C++ 的全自动化白盒单元测试工具,结合 concolic 执行引擎与自动化测试套件生成,实现高覆盖率与高速测试,并支持手动优化,使 C++ 自动化测试在工业应用中真正可行。

摘要:

本文提出了 Coyote C++,一个面向 C 和 C++ 的全自动化白盒单元测试工具。现有工具难以实现 C++ 的单元测试生成,而 Coyote C++ 能够以每小时超过 10,000 条语句的测试速度,通过单元测试生成产生高覆盖率结果。这一成就得益于强大的 concolic 执行引擎与复杂的自动化测试套件生成的结合。此外,Coyote C++ 的 GUI 显示详细的代码覆盖率可视化,并为寻求手动优化覆盖率结果的用户提供各种配置功能。结合强大的单击自动化测试与对手动调整的丰富支持,Coyote C++ 是首个足够实用的自动化测试工具,使 C++ 代码的自动化测试在工业应用中真正可行。

英文摘要:

In this paper, we present Coyote C++, a fully automated white-box unit testing tool for C and C++. Whereas existing tools have struggled to realize unit test generation for C++, Coyote C++ is able to produce high coverage results from unit test generation at a testing speed of over 10,000 statements per hour. This impressive feat is made possible by the combination of a powerful concolic execution engine with sophisticated automated test harness generation. Additionally, the GUI of Coyote C++ displays detailed code coverage visualizations and provides various configuration features for users seeking to manually optimize their coverage results. Combining potent one-click automated testing with rich support for manual tweaking, Coyote C++ is the first automated testing tool that is practical enough to make automated testing of C++ code truly viable in industrial applications.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑