We use a few cookies

Essential cookies keep the library working. With your permission, we'd also like to use analytics to see what's useful and improve the experience. Read our Privacy Policy or Cookie Policy.

Skip to main content
Home/e-Resources/Software Engineering/A similarity-based approach for test case prioritization using historical failure data
PeriodicalsSoftware Engineering

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

Checking your access to this record.

Abstract & Overview

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.

Cite this record

Tanzeem Bin Noor, Hadi Hemmati (2015). A similarity-based approach for test case prioritization using historical failure data. Proceedings/Proceedings - International Symposium on Software Reliability Engineering, 58–68. https://doi.org/10.1109/issre.2015.7381799

Copy in another style

Noor, T. B., & Hemmati, H. (2015). A similarity-based approach for test case prioritization using historical failure data. Proceedings/Proceedings - International Symposium on Software Reliability Engineering, 58–68. https://doi.org/10.1109/issre.2015.7381799
Author names are used as deposited, so check their order before you submit.

Metadata is harvested from open-access indexes and can be incomplete. Check a citation against the published version before relying on it — see our open access & attribution policy.