• DocumentCode
    2372089
  • Title

    A comparison of coverage-based and distribution-based techniques for filtering and prioritizing test cases

  • Author

    Leon, David ; Podgurski, Andy

  • Author_Institution
    Electr. Eng. & Comput. Sci. Dept. Case, Western Reserve Univ., Cleveland, OH, USA
  • fYear
    2003
  • fDate
    17-20 Nov. 2003
  • Firstpage
    442
  • Lastpage
    453
  • Abstract
    This paper presents an empirical comparison of four different techniques for filtering large test suites: test suite minimization, prioritization by additional coverage, cluster filtering with one-per-cluster sampling, and failure pursuit sampling. The first two techniques are based on selecting subsets that maximize code coverage as quickly as possible, while the latter two are based on analyzing the distribution of the tests´ execution profiles. These techniques were compared with data sets obtained from three large subject programs: the GCC, Jikes, and javac compilers. The results indicate that distribution-based techniques can be as efficient or more efficient for revealing defects than coverage-based techniques, but that the two kinds of techniques are also complementary in the sense that they find different defects. Accordingly, some simple combinations of these techniques were evaluated for use in test case prioritization. The results indicate that these techniques can create more efficient prioritizations than those generated using prioritization by additional coverage.
  • Keywords
    Java; program compilers; program testing; software engineering; GCC compiler; Jikes compiler; cluster filtering; code coverage maximization; coverage-based technique; defect finding; distribution-based technique; failure pursuit sampling; javac compiler; one-per-cluster sampling; subset selection; test case filtering; test case prioritization; test execution profile distribution; test suite minimization; Automatic testing; Computer aided software engineering; Computer science; Costs; Filtering; Java; Program processors; Sampling methods; Software testing; System testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Reliability Engineering, 2003. ISSRE 2003. 14th International Symposium on
  • ISSN
    1071-9458
  • Print_ISBN
    0-7695-2007-3
  • Type

    conf

  • DOI
    10.1109/ISSRE.2003.1251065
  • Filename
    1251065