ABSTRACT
Finite state machines (FSMs) are widely used in test data generation approaches. An extended finite state machine (EFSM) extends the FSM with memory (context variables), guards for each transition and assignment operations. In FSMs all paths are feasible, but the existence of context variables combined with guards in EFSMs can lead to infeasible paths. Using EFSMs in test data generation, we are dealing with feasibility problems. This paper presents a test suite generation algorithm for EFSMs. The algorithm produces a set of feasible transition paths (test cases) that cover all transitions using NSGA-III. We also measure the similarities between test cases from the generated test suite.
- {n.d.}. Metaheuristic Algorithms in Java,. http://jmetal.github.io/jMetal/Google Scholar
- Nesa Asoudeh and Yvan Labiche. 2014. Multi-objective Construction of an Entire Adequate Test Suite for an EFSM. In Proceedings of the 2014 IEEE 25th International Symposium on Software Reliability Engineering (ISSRE ’14). IEEE Computer Society, Washington, DC, USA, 288–299. Google ScholarDigital Library
- Wesley Klewerton Guez Assunção, Thelma Elita Colanzi, Silvia Regina Vergilio, and Aurora Pozo. 2014. A Multi-objective Optimization Approach for the Integration and Test Order Problem. Inf. Sci. 267 (May 2014), 119–139.Google Scholar
- Guillermo Campos Ciro, Frédéric Dugardin, Farouk Yalaoui, and Russell Kelly. 2016. A NSGA-II and NSGA-III comparison for solving an open shop scheduling problem with resource constraints. IFAC-PapersOnLine 49, 12 (2016), 1272–1277.Google ScholarCross Ref
- Kalyanmoy Deb and Himanshu Jain. 2014. An evolutionary many-objective optimization algorithm using reference-point-based nondominated sorting approach, part I: Solving problems with box constraints. IEEE Transactions on Evolutionary Computation 18, 4 (2014), 577–601.Google ScholarCross Ref
- Kalyanmoy Deb, Amrit Pratap, Sameer Agarwal, and TAMT Meyarivan. 2002. A fast and elitist multiobjective genetic algorithm: NSGA-II. IEEE transactions on evolutionary computation 6, 2 (2002), 182–197. Google ScholarDigital Library
- Karnig Derderian, Robert M. Hierons, Mark Harman, and Qiang Guo. 2010. Estimating the Feasibility of Transition Paths in Extended Finite State Machines. Automated Software Engg. 17, 1 (March 2010), 33–56. s10515-009-0057-9 Google ScholarDigital Library
- Mark Harman and Phil McMinn. 2007. A theoretical & empirical analysis of evolutionary testing and hill climbing for structural test data generation. In Proceedings of the 2007 international symposium on Software testing and analysis. ACM, 73–83. Google ScholarDigital Library
- AbdulSalam Kalaji, Robert Mark Hierons, and Stephen Swift. 2009. Generating Feasible Transition Paths for Testing from an Extended Finite State Machine (EFSM). In Proc. ICST’09. IEEE Computer Society, 230–239. Google ScholarDigital Library
- Abdul Salam Kalaji, Robert M. Hierons, and Stephen Swift. 2011. An integrated search-based approach for automatic testing from extended finite state machine (EFSM) models. Information & Software Technology 53, 12 (2011), 1297–1318. Google ScholarDigital Library
- Mohd Ehmer Khan and Farmeena Khan. 2012. A comparative study of white box, black box and grey box testing techniques. International Journal of Advanced Computer Sciences and Applications 3, 6 (2012), 12–1.Google Scholar
- Raluca Lefticaru and Florentin Ipate. 2012. An Improved Test Generation Approach from Extended Finite State Machines Using Genetic Algorithms. In Software Engineering and Formal Methods - 10th International Conference, SEFM 2012, Thessaloniki, Greece, October 1-5, 2012. Proceedings. 293–307. Google ScholarDigital Library
- Melanie Mitchell. 1998. An introduction to genetic algorithms. MIT Press. Google Scholar
- Ana Turlea, Florentin Ipate, and Raluca Lefticaru. 2016. A Hybrid Test Generation Approach Based on Extended Finite State Machines. In Symbolic and Numeric Algorithms for Scientific Computing (SYNASC), 2016 18th International Symposium on. IEEE, 173–180.Google ScholarCross Ref
- Ana Turlea, Florentin Ipate, and Raluca Lefticaru. 2017. A Test Suite Generation Approach Based on EFSMs Using a Multi-objective Genetic Algorithm. In 19th International Symposium on Symbolic and Numeric Algorithms for Scientific Computing, SYNASC 2017, Timisoara, Romania, September 21-24, 2017. 153–160.Google ScholarCross Ref
- Ana Turlea, Florentin Ipate, and Raluca Lefticaru. 2018. Generating Complex Paths for Testing from an EFSM. In 2018 IEEE International Conference on Software Quality, Reliability and Security Companion, QRS Companion 2018, Lisbon, Portugal, July 16-20, 2018. 242–249.Google ScholarCross Ref
Index Terms
- Testing extended finite state machines using NSGA-III
Recommendations
On Studying the Effectiveness of Extended Finite State Machine Based Test Selection Criteria
ICSTW '14: Proceedings of the 2014 IEEE International Conference on Software Testing, Verification, and Validation WorkshopsMany test selection criteria are considered for the derivation of functional tests for reactive systems and protocols modeled using formal techniques such as Extended Finite State Machines (EFSMs). In this paper, we consider three known EFSM ...
Model-in-the-Loop Testing for Cyber Physical Systems
Context: Nowadays, there is of high interest to use automated testing, not only because it optimizes the manual testing by reducing the needed time and cost, but also because manual testing is more likely to produce errors. Increasing the safety of ...
Context independent unique state identification sequences for testing communication protocols modelled as extended finite state machines
A number of test sequence generation methods proposed for communication protocols represented as Extended Finite State Machines (EFSMs) use state identification sequences for checking the states. However, neither a formal definition nor a method of ...
Comments