DocumentCode
2210636
Title
Prioritizing JUnit test cases in absence of coverage information
Author
Zhang, Lingming ; Zhou, Ji ; Hao, Dan ; Zhang, Lu ; Mei, Hong
Author_Institution
Key Lab. of High Confidence Software Technol., Peking Univ., Beijing, China
fYear
2009
fDate
20-26 Sept. 2009
Firstpage
19
Lastpage
28
Abstract
Better orderings of test cases can detect faults in less time with fewer resources, and thus make the debugging process earlier and accelerate software delivery. As a result, test case prioritization has become a hot topic in the research of regression testing. With the popularity of using the JUnit testing framework for developing Java software, researchers also paid attention to techniques for prioritizing JUnit test cases in regression testing of Java software. Typically, most of them are based on coverage information of test cases. However, coverage information may need extra costs to acquire. In this paper, we propose an approach (named Jupta) for prioritizing JUnit test cases in absence of coverage information. Jupta statically analyzes call graphs of JUnit test cases and the software under test to estimate the test ability (TA) of each test case. Furthermore, Jupta provides two prioritization techniques: the total TA based technique (denoted as JuptaT) and the additional TA based technique (denoted as JuptaA). To evaluate Jupta, we performed an experimental study on two open source Java programs, containing 11 versions in total. The experimental results indicate that Jupta is more effective and stable than the untreated orderings and Jupta is approximately as effective and stable as prioritization techniques using coverage information at the method level.
Keywords
Java; program testing; software engineering; JUnit test cases prioritization; Java software development; Jupta approach; TA prioritization techniques; coverage information; debugging process; regression testing; test ability estiimation; Computer science; Computer science education; Costs; Educational technology; Electronic equipment testing; Fault detection; Java; Laboratories; Software debugging; Software testing;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Maintenance, 2009. ICSM 2009. IEEE International Conference on
Conference_Location
Edmonton, AB
ISSN
1063-6773
Print_ISBN
978-1-4244-4897-5
Electronic_ISBN
1063-6773
Type
conf
DOI
10.1109/ICSM.2009.5306350
Filename
5306350
Link To Document