遇见数据集

NATIC: Naming Amplified Tests based on Improved Coverage

收藏
DataCite Commons2021-08-26 更新2024-07-28 收录
官方服务:

资源简介:

Test amplification generates new test cases that improve the coverage of an existing test suite. To convince developers to integrate these new test cases into their test suite, it is crucial to convey the behavior and the improvement in coverage that the amplified test case provides. In this paper, we present NATIC, an approach to generate names for amplified test cases based on the methods they additionally cover, compared to the existing test suite. In a survey among 16 participants with a background in Computer Science, we show that the test names generated by NATIC perform similarly to ones written by experts.According to the participants, the names by NATIC outperform them with respect to informing about coverage improvement, but lack in conveying the test’s behavior. Finally, we discuss how a restriction to two mentioned methods per name would improve the understandability of the test names generated by NATIC.

提供机构:
figshare
创建时间:
2021-08-23
二维码
社区交流群
二维码
科研交流群
商业服务