• DocumentCode
    3730213
  • Title

    A similarity-based approach for test case prioritization using historical failure data

  • Author

    Tanzeem Bin Noor;Hadi Hemmati

  • Author_Institution
    Department of Computer Science, University of Manitoba, Winnipeg, Canada
  • fYear
    2015
  • Firstpage
    58
  • Lastpage
    68
  • Abstract
    Test case prioritization is a crucial element in software quality assurance in practice, specially, in the context of regression testing. Typically, test cases are prioritized in a way that they detect the potential faults earlier. The effectiveness of test cases, in terms of fault detection, is estimated using quality metrics, such as code coverage, size, and historical fault detection. Prior studies have shown that previously failing test cases are highly likely to fail again in the next releases, therefore, they are highly ranked, while prioritizing. However, in practice, a failing test case may not be exactly the same as a previously failed test case, but quite similar, e.g., when the new failing test is a slightly modified version of an old failing one to catch an undetected fault. In this paper, we define a class of metrics that estimate the test cases quality using their similarity to the previously failing test cases. We have conducted several experiments with five real world open source software systems, with real faults, to evaluate the effectiveness of these quality metrics. The results of our study show that our proposed similarity-based quality measure is significantly more effective for prioritizing test cases compared to existing test case quality measures.
  • Keywords
    "Measurement","Testing","Fault detection","History","Context","Software quality"
  • Publisher
    ieee
  • Conference_Titel
    Software Reliability Engineering (ISSRE), 2015 IEEE 26th International Symposium on
  • Type

    conf

  • DOI
    10.1109/ISSRE.2015.7381799
  • Filename
    7381799