Cost and Effectiveness of Search-Based Techniques for Model-Based Testing: An Empirical Analysis
Authors:
- 24 May 2017
- journal article
- research article
- Published by World Scientific Pub Co Pte Ltd in International Journal of Software Engineering and Knowledge Engineering
- Vol. 27 (04) , 601-622
Abstract
Model-based testing (MBT) seems to be gaining interest in industry and academia due to its provision of systematic, automated and comprehensive testing. The challenge in MBT is to generate optimal test data to execute test cases. Recently, researchers have successfully applied search-based techniques (SBTs) by automating the search for an optimal set of test data at reasonable cost compared to other more expensive techniques. In real complex systems, effectiveness and cost of SBTs for MBT in industrial context are little known. The objective of this study is to empirically evaluate the cost and the effectiveness of SBTs for MBT on industrial case studies. We applied a model-driven approach and SBTs to automatically generate executable feasible test cases. The results show that the model-driven approach generated high number of infeasible test cases with less time while genetic algorithm (GA) and simulating annealing (SA) outperformed significantly random search (RS) with high generation time. We concluded that local SBTs are more appropriate to generate test data when the type of the constraints is simple. Current work on analyzing the cost and effectiveness on SBTs for MBT indicates possible enhancement using the model-driven approach to detect the infeasible paths and SBTs to achieve optimal success rate.Keywords
This publication has 28 references indexed in Scilit:
- A taxonomy of model‐based testing approachesSoftware Testing, Verification and Reliability, 2011
- Improving the coverage criteria of UML state machines using data flow analysisSoftware Testing, Verification and Reliability, 2009
- Empirical evaluation of optimization algorithms when used in goal-oriented automated test data generation techniquesEmpirical Software Engineering, 2006
- Test Case Generation for Mutation-based Testing of TimelinessElectronic Notes in Theoretical Computer Science, 2006
- Assessing and improving state-based class testing: a series of experimentsIEEE Transactions on Software Engineering, 2004
- Search‐based software test data generation: a surveySoftware Testing, Verification and Reliability, 2004
- Reformulating software engineering as a search problemIEE Proceedings - Software, 2003
- Preliminary guidelines for empirical research in software engineeringIEEE Transactions on Software Engineering, 2002
- Evolutionary test environment for automatic structural testingInformation and Software Technology, 2001
- Generating software test data by evolutionIEEE Transactions on Software Engineering, 2001