A Static Approach to Prioritizing JUnit Test Cases

Cited 98 time in webofscience Cited 0 time in scopus
  • Hit : 354
  • Download : 0
DC FieldValueLanguage
dc.contributor.authorMei, Hongko
dc.contributor.authorHao, Danko
dc.contributor.authorZhang, Lingmingko
dc.contributor.authorZhang, Luko
dc.contributor.authorZhou, Jiko
dc.contributor.authorRothermel, Greggko
dc.date.accessioned2013-03-12T12:28:56Z-
dc.date.available2013-03-12T12:28:56Z-
dc.date.created2012-12-31-
dc.date.created2012-12-31-
dc.date.issued2012-11-
dc.identifier.citationIEEE TRANSACTIONS ON SOFTWARE ENGINEERING, v.38, no.6, pp.1258 - 1275-
dc.identifier.issn0098-5589-
dc.identifier.urihttp://hdl.handle.net/10203/102328-
dc.description.abstractTest 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.-
dc.languageEnglish-
dc.publisherIEEE COMPUTER SOC-
dc.subjectCALL GRAPH CONSTRUCTION-
dc.subjectTEST-SUITE REDUCTION-
dc.subjectCOVERAGE INFORMATION-
dc.subjectMUTATION FAULTS-
dc.subjectSYSTEM-
dc.subjectCOST-
dc.titleA Static Approach to Prioritizing JUnit Test Cases-
dc.typeArticle-
dc.identifier.wosid000311556100002-
dc.identifier.scopusid2-s2.0-84870485125-
dc.type.rimsART-
dc.citation.volume38-
dc.citation.issue6-
dc.citation.beginningpage1258-
dc.citation.endingpage1275-
dc.citation.publicationnameIEEE TRANSACTIONS ON SOFTWARE ENGINEERING-
dc.identifier.doi10.1109/TSE.2011.106-
dc.contributor.nonIdAuthorMei, Hong-
dc.contributor.nonIdAuthorHao, Dan-
dc.contributor.nonIdAuthorZhang, Lingming-
dc.contributor.nonIdAuthorZhang, Lu-
dc.contributor.nonIdAuthorZhou, Ji-
dc.type.journalArticleArticle-
dc.subject.keywordAuthorSoftware testing-
dc.subject.keywordAuthorregression testing-
dc.subject.keywordAuthortest case prioritization-
dc.subject.keywordAuthorJUnit-
dc.subject.keywordAuthorcall graph-
dc.subject.keywordPlusCALL GRAPH CONSTRUCTION-
dc.subject.keywordPlusTEST-SUITE REDUCTION-
dc.subject.keywordPlusCOVERAGE INFORMATION-
dc.subject.keywordPlusMUTATION FAULTS-
dc.subject.keywordPlusSYSTEM-
dc.subject.keywordPlusCOST-
Appears in Collection
Files in This Item
There are no files associated with this item.
This item is cited by other documents in WoS
⊙ Detail Information in WoSⓡ Click to see webofscience_button
⊙ Cited 98 items in WoS Click to see citing articles in records_button

qr_code

  • mendeley

    citeulike


rss_1.0 rss_2.0 atom_1.0