CORC  > 北京大学  > 信息科学技术学院
A Static Approach to Prioritizing JUnit Test Cases
Mei, Hong ; Hao, Dan ; Zhang, Lingming ; Zhang, Lu ; Zhou, Ji ; Rothermel, Gregg
刊名ieee transactions on software engineering
2012
关键词Software testing regression testing test case prioritization JUnit call graph CALL GRAPH CONSTRUCTION TEST-SUITE REDUCTION COVERAGE INFORMATION MUTATION FAULTS SYSTEM COST
DOI10.1109/TSE.2011.106
英文摘要Test case prioritization is used in regression testing to schedule the execution order of test cases so as to expose faults earlier in testing. Over the past few years, many test case prioritization techniques have been proposed in the literature. Most of these techniques require data on dynamic execution in the form of code coverage information for test cases. However, the collection of dynamic code coverage information on test cases has several associated drawbacks including cost increases and reduction in prioritization precision. In this paper, we propose an approach to prioritizing test cases in the absence of coverage information that operates on Java programs tested under the JUnit framework-an increasingly popular class of systems. Our approach, JUnit test case Prioritization Techniques operating in the Absence of coverage information (JUPTA), analyzes the static call graphs of JUnit test cases and the program under test to estimate the ability of each test case to achieve code coverage, and then schedules the order of these test cases based on those estimates. To evaluate the effectiveness of JUPTA, we conducted an empirical study on 19 versions of four Java programs ranging from 2K-80K lines of code, and compared several variants of JUPTA with three control techniques, and several other existing dynamic coverage-based test case prioritization techniques, assessing the abilities of the techniques to increase the rate of fault detection of test suites. Our results show that the test suites constructed by JUPTA are more effective than those in random and untreated test orders in terms of fault-detection effectiveness. Although the test suites constructed by dynamic coverage-based techniques retain fault-detection effectiveness advantages, the fault-detection effectiveness of the test suites constructed by JUPTA is close to that of the test suites constructed by those techniques, and the fault-detection effectiveness of the test suites constructed by some of JUPTA's variants is better than that of the test suites constructed by several of those techniques.; http://gateway.webofknowledge.com/gateway/Gateway.cgi?GWVersion=2&SrcApp=PARTNER_APP&SrcAuth=LinksAMR&KeyUT=WOS:000311556100002&DestLinkType=FullRecord&DestApp=ALL_WOS&UsrCustomerID=8e1609b174ce4e31116a60747a720701 ; Computer Science, Software Engineering; Engineering, Electrical & Electronic; SCI(E); EI; 10; ARTICLE; 6; 1258-1275; 38
语种英语
内容类型期刊论文
源URL[http://ir.pku.edu.cn/handle/20.500.11897/152421]  
专题信息科学技术学院
推荐引用方式
GB/T 7714
Mei, Hong,Hao, Dan,Zhang, Lingming,et al. A Static Approach to Prioritizing JUnit Test Cases[J]. ieee transactions on software engineering,2012.
APA Mei, Hong,Hao, Dan,Zhang, Lingming,Zhang, Lu,Zhou, Ji,&Rothermel, Gregg.(2012).A Static Approach to Prioritizing JUnit Test Cases.ieee transactions on software engineering.
MLA Mei, Hong,et al."A Static Approach to Prioritizing JUnit Test Cases".ieee transactions on software engineering (2012).
个性服务
查看访问统计
相关权益政策
暂无数据
收藏/分享
所有评论 (0)
暂无评论
 

除非特别说明,本系统中所有内容都受版权保护,并保留所有权利。


©版权所有 ©2017 CSpace - Powered by CSpace