Skip to main content

A Novel Test Data Generation Approach Based Upon Mutation Testing by Using Artificial Immune System for Simulink Models

  • Conference paper
Knowledge and Systems Engineering

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 326))

Abstract

Software testing is costly, labor intensive, and time consuming activity. Test data generation is one of the most important steps in testing process in terms of revealing faults in software. A set of test data is considered as good quality if it is highly capable of discovering possible faults. Mutation analysis is an effective way to assess the quality of a test set. Nowadays, high level models such as Simulink are widely used to reduce the time of software development in many industrial fields. This also allows faults to be detected at the earlier stages. Verification and validation of Simulink models are becoming vital to users. In this paper, we propose the automated test data generation approach based on mutation testing for Simulink models by using Artificial Immune System (AIS) in order to evolve test data. The approach was integrated into the MuSimulink tool [15]. It has been applied to some different case studies and the obtained results are very promising.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Beizer, B.: Software Testing Techniques, 2nd edn. Thomason Computer Press (1990)

    Google Scholar 

  2. DeMillo, R., Lipton, R., Sayward, F.: Hints on Test Data Selection: Help for Practicing for Programmer. IEEE Computer (11), 34–41 (1978)

    Google Scholar 

  3. Brillout, A., He, N., Mazzucchi, M., Kroening, D., Purandare, M., Rümmer, P., Weissenbacher, G.: Mutation-based Test case generation for Simulink models. In: de Boer, F.S., Bonsangue, M.M., Hallerstede, S., Leuschel, M. (eds.) FMCO 2009. LNCS, vol. 6286, pp. 208–227. Springer, Heidelberg (2010)

    Chapter  Google Scholar 

  4. Zhan, Y.: A Search-Based Framework for Automatic Test-Set Generation for Matlab/Simulink models. University of York. PhD Thesis (2005)

    Google Scholar 

  5. Ghani, K., Clark, J.A., Zhan, Y.: Comparing Algorithms for Search-based Test Data Generation of Matlab Simulink Model. In: 10th IEEE Congress on Evolutionary Computation (CEC 2009), Trondheim, Norway (2007)

    Google Scholar 

  6. He, N., Rummer, P., Kroening, D.: Test-Case Generation for Embedded Simulink via Formal Concept Analysis. In: DAC, San Diego, California, USA (2011)

    Google Scholar 

  7. Li, M., Kumar, R.: Model-Based Automatic Test Generation for Simulink/Stateflow using Extended Finite Automaton (2011)

    Google Scholar 

  8. Godboley, S., Sridhar, A., Kharpuse, B., Mohapatra, D.P., Majhi, B.: Generation of Branch Coverage Test Data for Simulink/Stateflow Models using Crest Tool. International Journal of Advanced Computer Research III(13), 222–229 (2013)

    Google Scholar 

  9. Oh, J., Harman, M., Yoo, S.: Transition Coverage Testing for Simulink/Stateflow Models Using Messy Genetic Algorithms. In: GECCO 2011, Dublin, Ireland, pp. 1851–1858 (2011)

    Google Scholar 

  10. Satpathy, M., Yeolekar, A., Ramesh, S.: Randomized directed testing (redirect) for simulink/stateflow models. In: Proceedings of the 8th ACM International Conference on Embedded Software, New York, USA, pp. 217–226 (2008)

    Google Scholar 

  11. De Castro, L.N., Timmis, J.: Artificial Immune Systems: A New Computational Intelligence Approach. Springer (2002)

    Google Scholar 

  12. May, P., Timmis, J., Mander, K.: Immune and Evolutionary Approaches to Software Mutation Testing. In: de Castro, L.N., Von Zuben, F.J., Knidel, H. (eds.) ICARIS 2007. LNCS, vol. 4628, pp. 336–347. Springer, Heidelberg (2007)

    Chapter  Google Scholar 

  13. Pachauri, A., Gursaran: Use of Clonal Selection Algorithm as Software Test Data Generation Technique. In: Second International Conference on Advanced Computing & Communication Technologies, pp. 1–5 (2012)

    Google Scholar 

  14. The Matwork Inc., http://www.mathworks.com/products/simulink/

  15. Hanh, L.T.M., Binh, N.T.: Automatic Generation of Mutants for Simulink Models. In: 16th National Conference: Selected Problems About IT And Telecommunication, Danang, Vietnam, pp. 339–346 (2013)

    Google Scholar 

  16. Hanh, L.T.M., Binh, N.T.: Mutation Operators for Simulink Models. In: KSE 2012 - The Fourth International Conference on Knowledge and Systems Engineering, Danang, pp. 54–59 (2012)

    Google Scholar 

  17. Hanh, L.T.M., Tung, K.T., Binh, N.T.: Improving Mutation Execution in Mutation Testing for Simulink Models Using Parallel Computing. Journal of Science and Technology, University of Danang II(1(74)), 9–13 (2014)

    Google Scholar 

  18. Freitas, A.A., Timmis, J.: Revisiting the Foundations of Artificial Immune Systems: A Problem Oriented Perspective. In: Timmis, J., Bentley, P.J., Hart, E. (eds.) ICARIS 2003. LNCS, vol. 2787, pp. 229–241. Springer, Heidelberg (2003)

    Chapter  Google Scholar 

  19. Burnet, F.M.: The Clonal Selection Theory of Acquired Immunity. Cambridge University Press (1959)

    Google Scholar 

  20. De Castro, L.N., Timmis, J.: Artificial Immune Systems: A Novel Paradigm to Pattern Recognition, vol. 2, pp. 67–84. Springer Verlag, University of Paisley, UK (2002)

    Google Scholar 

  21. de Castro, L.N., Von Zuben, F.J.: Learning and optimization using the clonal selection principle. IEEE Transactions on Evolutionary Computation 6(3), 239–251 (2002)

    Article  Google Scholar 

  22. Offutt, A.J., Voas, J.M.: Subsumption of Condition Coverage Techniques by Mutation Testing. Technical Report ISSE-TR-96-01 (1996)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Le Thi My Hanh .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer International Publishing Switzerland

About this paper

Cite this paper

Hanh, L.T.M., Binh, N.T., Tung, K.T. (2015). A Novel Test Data Generation Approach Based Upon Mutation Testing by Using Artificial Immune System for Simulink Models. In: Nguyen, VH., Le, AC., Huynh, VN. (eds) Knowledge and Systems Engineering. Advances in Intelligent Systems and Computing, vol 326. Springer, Cham. https://doi.org/10.1007/978-3-319-11680-8_14

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-11680-8_14

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-11679-2

  • Online ISBN: 978-3-319-11680-8

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics