Prioritizing JUnit test cases in absence of coverage information

Lingming Zhang, Ji Zhou, Dan Hao, Lu Zhang, Hong Mei

Research output: Chapter in Book/Report/Conference proceedingConference contribution

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.

Original languageEnglish (US)
Title of host publication2009 IEEE International Conference on Software Maintenance, ICSM 2009 - Proceedings of the Conference
Pages19-28
Number of pages10
DOIs
StatePublished - 2009
Externally publishedYes
Event2009 IEEE International Conference on Software Maintenance, ICSM 2009 - Edmonton, AB, Canada
Duration: Sep 20 2009Sep 26 2009

Publication series

NameIEEE International Conference on Software Maintenance, ICSM

Other

Other2009 IEEE International Conference on Software Maintenance, ICSM 2009
Country/TerritoryCanada
CityEdmonton, AB
Period9/20/099/26/09

ASJC Scopus subject areas

  • Software

Fingerprint

Dive into the research topics of 'Prioritizing JUnit test cases in absence of coverage information'. Together they form a unique fingerprint.

Cite this