TY - GEN
T1 - Black-box system testing of real-time embedded systems using random and search-based testing
AU - Arcuri, Andrea
AU - Iqbal, Muhammad Zohaib
AU - Briand, Lionel
PY - 2010
Y1 - 2010
N2 - Testing real-time embedded systems (RTES) is in many ways challenging. Thousands of test cases can be potentially executed on an industrial RTES. Given the magnitude of testing at the system level, only a fully automated approach can really scale up to test industrial RTES. In this paper we take a black-box approach and model the RTES environment using the UML/MARTE international standard. Our main motivation is to provide a more practical approach to the model-based testing of RTES by allowing system testers, who are often not familiar with the system design but know the application domain well-enough, to model the environment to enable test automation. Environment models can support the automation of three tasks: the code generation of an environment simulator, the selection of test cases, and the evaluation of their expected results (oracles). In this paper, we focus on the second task (test case selection) and investigate three test automation strategies using inputs from UML/MARTE environment models: Random Testing (baseline), Adaptive Random Testing, and Search-Based Testing (using Genetic Algorithms). Based on one industrial case study and three artificial systems, we show how, in general, no technique is better than the others. Which test selection technique to use is determined by the failure rate (testing stage) and the execution time of test cases. Finally, we propose a practical process to combine the use of all three test strategies.
AB - Testing real-time embedded systems (RTES) is in many ways challenging. Thousands of test cases can be potentially executed on an industrial RTES. Given the magnitude of testing at the system level, only a fully automated approach can really scale up to test industrial RTES. In this paper we take a black-box approach and model the RTES environment using the UML/MARTE international standard. Our main motivation is to provide a more practical approach to the model-based testing of RTES by allowing system testers, who are often not familiar with the system design but know the application domain well-enough, to model the environment to enable test automation. Environment models can support the automation of three tasks: the code generation of an environment simulator, the selection of test cases, and the evaluation of their expected results (oracles). In this paper, we focus on the second task (test case selection) and investigate three test automation strategies using inputs from UML/MARTE environment models: Random Testing (baseline), Adaptive Random Testing, and Search-Based Testing (using Genetic Algorithms). Based on one industrial case study and three artificial systems, we show how, in general, no technique is better than the others. Which test selection technique to use is determined by the failure rate (testing stage) and the execution time of test cases. Finally, we propose a practical process to combine the use of all three test strategies.
KW - branch distance
KW - context
KW - environment
KW - MARTE
KW - model based testing
KW - OCL
KW - Search based software engineering
KW - UML
UR - http://www.scopus.com/inward/record.url?scp=78649899295&partnerID=8YFLogxK
U2 - 10.1007/978-3-642-16573-3_8
DO - 10.1007/978-3-642-16573-3_8
M3 - Conference contribution
AN - SCOPUS:78649899295
SN - 3642165729
SN - 9783642165726
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 95
EP - 110
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 -