Removing Redundant Statements in Amplified Test Cases
收藏DataCite Commons2021-08-26 更新2024-07-28 收录
下载链接:
https://figshare.com/articles/dataset/Removing_Redundant_Statements_in_Amplified_Test_Cases/14910486/2
下载链接
链接失效反馈官方服务:
资源简介:
Test amplification generates new tests by modifying existing, manually written tests. Up until now, this process preserves statements that were relevant for the original test case but are no longer needed for the behavior of the new test case. These unnecessary statements impact the readability of the tests in question. As a part of the effort to make amplified test cases more readable, we investigate dynamic slicing, taint analysis and static analysis as approaches to remove redundant statements. We design and evaluate a simple static analysis approach that we implemented as part of DSpot. Our empirical evaluation on 274 amplified test cases shows that the implemented approach works well: while being rudimentary, it is able to remove a significant portion of the redundant statements in the amplified test cases. While the removal of the statements themselves is relatively fast, verifying that the tests still work as intended through mutation testing is still resource-intensive.
提供机构:
figshare
创建时间:
2021-08-26



