TY - GEN
T1 - An enhanced test case selection approach for model-based testing
T2 - 18th ACM SIGSOFT International Symposium on the Foundations of Software Engineering, FSE-18
AU - Hemmati, Hadi
AU - Briand, Lionel
AU - Arcuri, Andrea
AU - Ali, Shaukat
PY - 2010
Y1 - 2010
N2 - In recent years, Model-Based Testing (MBT) has attracted an increasingly wide interest from industry and academia. MBT allows automatic generation of a large and comprehensive set of test cases from system models (e.g., state machines), which leads to the systematic testing of the system. However, even when using simple test strategies, applying MBT in large industrial systems often leads to generating large sets of test cases that cannot possibly be executed within time and cost constraints. In this situation, test case selection techniques are employed to select a subset from the entire test suite such that the selected subset conforms to available resources while maximizing fault detection. In this paper, we propose a new similarity-based selection technique for state machine-based test case selection, which includes a new similarity function using triggers and guards on transitions of state machines and a genetic algorithm-based selection algorithm. Applying this technique on an industrial case study, we show that our proposed approach is more effective in detecting real faults than existing alternatives. We also assess the overall benefits of model-based test case selection in our case study by comparing the fault detection rate of the selected subset with the maximum possible fault detection rate of the original test suite.
AB - In recent years, Model-Based Testing (MBT) has attracted an increasingly wide interest from industry and academia. MBT allows automatic generation of a large and comprehensive set of test cases from system models (e.g., state machines), which leads to the systematic testing of the system. However, even when using simple test strategies, applying MBT in large industrial systems often leads to generating large sets of test cases that cannot possibly be executed within time and cost constraints. In this situation, test case selection techniques are employed to select a subset from the entire test suite such that the selected subset conforms to available resources while maximizing fault detection. In this paper, we propose a new similarity-based selection technique for state machine-based test case selection, which includes a new similarity function using triggers and guards on transitions of state machines and a genetic algorithm-based selection algorithm. Applying this technique on an industrial case study, we show that our proposed approach is more effective in detecting real faults than existing alternatives. We also assess the overall benefits of model-based test case selection in our case study by comparing the fault detection rate of the selected subset with the maximum possible fault detection rate of the original test suite.
KW - genetic algorithms
KW - model-based testing
KW - similarity-based selection
KW - test case selection
UR - http://www.scopus.com/inward/record.url?scp=78751544525&partnerID=8YFLogxK
U2 - 10.1145/1882291.1882331
DO - 10.1145/1882291.1882331
M3 - Conference contribution
AN - SCOPUS:78751544525
SN - 9781605587912
T3 - Proceedings of the ACM SIGSOFT Symposium on the Foundations of Software Engineering
SP - 267
EP - 276
BT - Proceedings of the 18th ACM SIGSOFT International Symposium on Foundations of Software Engineering, FSE-18
Y2 - 7 November 2010 through 11 November 2010
ER -