A Search-Based OCL Constraint Solver for Model-Based Test Data Generation
Authors:
- Shaukat AliSAShaukat Ali
- Muhammad Zohaib IqbalMIMuhammad Zohaib Iqbal
- Andrea ArcuriAAAndrea Arcuri
- Lionel BriandLBLionel Briand
- 1 July 2011
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 15506002,p. 41-50
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
This publication has 13 references indexed in Scilit:
- An empirical investigation into branch coverage for C programs using CUTE and AUSTINJournal of Systems and Software, 2010
- Automatic and efficient simulation of operation contracts2010
- GA-based Automatic Test Data Generation for UML State Diagrams with Parallel Paths2008
- Functional Search-based Testing from State Machines2008
- Translation of Restricted OCL Constraints into Graph Constraints for Generating Meta Model Instances by Graph GrammarsElectronic Notes in Theoretical Computer Science, 2008
- Verification of UML/OCL Class Diagrams using Constraint Programming2008
- Test Case Generation by OCL Mutation and Constraint Solving2006
- CUTEACM SIGSOFT Software Engineering Notes, 2005
- Formalizing UML Models and OCL Constraints in PVSElectronic Notes in Theoretical Computer Science, 2005
- Alcoa2000