• DocumentCode
    2363440
  • Title

    Empirical studies of test case prioritization in a JUnit testing environment

  • Author

    Do, Hyunsook ; Rothermel, Gregg ; Kinneer, Alex

  • Author_Institution
    Dept. of Comput. Sci. & Eng., Nebraska Univ., Lincoln, NE, USA
  • fYear
    2004
  • fDate
    2-5 Nov. 2004
  • Firstpage
    113
  • Lastpage
    124
  • Abstract
    Test case prioritization provides a way to run test cases with the highest priority earliest. Numerous empirical studies have shown that prioritization can improve a test suite´s rate of fault detection, but the extent to which these results generalize is an open question because the studies have all focused on a single procedural language, C, and a few specific types of test suites, in particular, Java and the JUnit testing framework are being used extensively in practice, and the effectiveness of prioritization techniques on Java systems tested under JUnit has not been investigated. We have therefore designed and performed a controlled experiment examining whether test case prioritization can be effective on Java programs tested under JUnit, and comparing the results to those achieved in earlier studies. Our analyses show that test case prioritization can significantly improve the rate of fault detection of JUnit test suites, but also reveal differences with respect to previous studies that can be related to the language and testing paradigm.
  • Keywords
    Java; program testing; software fault tolerance; JUnit testing environment; Java program; object-oriented system; software fault detection; test case prioritization; Computer science; Fault detection; Feedback; Java; Performance evaluation; Software performance; Software systems; Software testing; System testing; Systems engineering and theory;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Reliability Engineering, 2004. ISSRE 2004. 15th International Symposium on
  • ISSN
    1071-9458
  • Print_ISBN
    0-7695-2215-7
  • Type

    conf

  • DOI
    10.1109/ISSRE.2004.18
  • Filename
    1383111