Title :
A Search-Based OCL Constraint Solver for Model-Based Test Data Generation
Author :
Ali, Shaukat ; Iqbal, Muhammad Zohaib ; Arcuri, Andrea ; Briand, Lionel
Author_Institution :
Simula Res. Lab., Norway
Abstract :
Model-based testing (MBT) aims at automated, scalable, and systematic testing solutions for complex industrial software systems. To increase chances of adoption in industrial contexts, software systems should be modeled using well-established standards such as the Unified Modeling Language (UML) and Object Constraint Language (OCL). Given that test data generation is one of the major challenges to automate MBT, this is the topic of this paper with a specific focus on test data generation from OCL constraints. Though search-based software testing (SBST) has been applied to test data generation for white-box testing (e.g., branch coverage), its application to the MBT of industrial software systems has been limited. In this paper, we propose a set of search heuristics based on OCL constraints to guide test data generation and automate MBT in industrial applications. These heuristics are used to develop an OCL solver exclusively based on search, in this particular case genetic algorithm and (1+1) EA. Empirical analyses to evaluate the feasibility of our approach are carried out on one industrial system.
Keywords :
Unified Modeling Language; constraint handling; formal verification; search problems; complex industrial software systems; genetic algorithm; model based test data generation; object constraint language; search based OCL constraint solver; search heuristics; systematic testing solutions; unified modeling language; white box testing; Context; Data models; Genetic algorithms; Search problems; Software engineering; Testing; Unified modeling language; Empirical evaluation; OCL; Search-based testing; Test data; UML;
Conference_Titel :
Quality Software (QSIC), 2011 11th International Conference on
Conference_Location :
Madrid
Print_ISBN :
978-1-4577-0754-4
Electronic_ISBN :
1550-6002
DOI :
10.1109/QSIC.2011.17