首页 | 本学科首页   官方微博 | 高级检索  
     


Similarity-based test case prioritization using ordered sequences of program entities
Authors:Chunrong Fang  Zhenyu Chen  Kun Wu  Zhihong Zhao
Affiliation:1. State Key Laboratory for Novel Software Technology, Nanjing University, Nanjing, 210093, China
2. Software Institute, Nanjing University, Nanjing, 210093, China
Abstract:Test suites often grow very large over many releases, such that it is impractical to re-execute all test cases within limited resources. Test case prioritization rearranges test cases to improve the effectiveness of testing. Code coverage has been widely used as criteria in test case prioritization. However, the simple way may not reveal some bugs, such that the fault detection rate decreases. In this paper, we use the ordered sequences of program entities to improve the effectiveness of test case prioritization. The execution frequency profiles of test cases are collected and transformed into the ordered sequences. We propose several novel similarity-based test case prioritization techniques based on the edit distances of ordered sequences. An empirical study of five open source programs was conducted. The experimental results show that our techniques can significantly increase the fault detection rate and be effective in detecting faults in loops. Moreover, our techniques are more cost-effective than the existing techniques.
Keywords:
本文献已被 SpringerLink 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号