DocumentCode
2206443
Title
Test case analytics: Mining test case traces to improve risk-driven testing
Author
Noor, Tanzeem ; Hemmati, Hadi
Author_Institution
Dept. of Comput. Sci., Univ. of Manitoba Winnipeg, Winnipeg, MB, Canada
fYear
2015
fDate
2-2 March 2015
Firstpage
13
Lastpage
16
Abstract
In risk-driven testing, test cases are generated and/or prioritized based on different risk measures. For example, the most basic risk measure would analyze the history of the software and assigns higher risk to the test cases that used to detect bugs in the past. However, in practice, a test case may not be exactly the same as a previously failed test, but quite similar. In this study, we define a new risk measure that assigns a risk factor to a test case, if it is similar to a failing test case from history. The similarity is defined based on the execution traces of the test cases, where we define each test case as a sequence of method calls. We have evaluated our new risk measure by comparing it to a traditional risk measure (where the risk measure would be increased only if the very same test case, not a similar one, failed in the past). The results of our study, in the context of test case prioritization, on two open source projects show that our new risk measure is by far more effective in identifying failing test cases compared to the traditional risk measure.
Keywords
program diagnostics; program testing; public domain software; risk management; software management; open source projects; risk factor; risk-driven testing; software history; test case analytics; test case trace mining; Computer bugs; Context; Current measurement; Databases; History; Software; Testing; Execution trace; Testing; Bug; Risk-driventesting; Similarity; Test case prioritization;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Analytics (SWAN), 2015 IEEE 1st International Workshop on
Conference_Location
Montreal, QC
Type
conf
DOI
10.1109/SWAN.2015.7070482
Filename
7070482
Link To Document