TY - GEN
T1 - Reducing the cost of model-based testing through test case diversity
AU - Hemmati, Hadi
AU - Arcuri, Andrea
AU - Briand, Lionel
PY - 2010
Y1 - 2010
N2 - Model-based testing (MBT) suffers from two main problems which in many real world systems make MBT impractical: scalability and automatic oracle generation. When no automated oracle is available, or when testing must be performed on actual hardware or a restricted-access network, for example, only a small set of test cases can be executed and evaluated. However, MBT techniques usually generate large sets of test cases when applied to real systems, regardless of the coverage criteria. Therefore, one needs to select a small enough subset of these test cases that have the highest possible fault revealing power. In this paper, we investigate and compare various techniques for rewarding diversity in the selected test cases as a way to increase the likelihood of fault detection. We use a similarity measure defined on the representation of the test cases and use it in several algorithms that aim at maximizing the diversity of test cases. Using an industrial system with actual faults, we found that rewarding diversity leads to higher fault detection compared to the techniques commonly reported in the literature: coverage-based and random selection. Among the investigated algorithms, diversification using Genetic Algorithms is the most cost-effective technique.
AB - Model-based testing (MBT) suffers from two main problems which in many real world systems make MBT impractical: scalability and automatic oracle generation. When no automated oracle is available, or when testing must be performed on actual hardware or a restricted-access network, for example, only a small set of test cases can be executed and evaluated. However, MBT techniques usually generate large sets of test cases when applied to real systems, regardless of the coverage criteria. Therefore, one needs to select a small enough subset of these test cases that have the highest possible fault revealing power. In this paper, we investigate and compare various techniques for rewarding diversity in the selected test cases as a way to increase the likelihood of fault detection. We use a similarity measure defined on the representation of the test cases and use it in several algorithms that aim at maximizing the diversity of test cases. Using an industrial system with actual faults, we found that rewarding diversity leads to higher fault detection compared to the techniques commonly reported in the literature: coverage-based and random selection. Among the investigated algorithms, diversification using Genetic Algorithms is the most cost-effective technique.
KW - Adaptive Random Testing
KW - Clustering algorithms
KW - Genetic Algorithms
KW - Jaccard Index
KW - Model-based testing
KW - Search-based testing
KW - Similarity measure
KW - Test case selection
KW - UML state machines
UR - http://www.scopus.com/inward/record.url?scp=78649883267&partnerID=8YFLogxK
U2 - 10.1007/978-3-642-16573-3_6
DO - 10.1007/978-3-642-16573-3_6
M3 - Conference contribution
AN - SCOPUS:78649883267
SN - 3642165729
SN - 9783642165726
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 63
EP - 78
BT - Testing Software and Systems - 22nd IFIP WG 6.1 International Conference, ICTSS 2010, Proceedings
T2 - 22nd IFIP WG 6.1 International Conference on Testing Software and Systems, ICTSS 2010
Y2 - 8 November 2010 through 10 November 2010
ER -