Skip to main content

Fault-Based Generation of Test Cases from UML-Models – Approach and Some Experiences

  • Conference paper
Computer Safety, Reliability, and Security (SAFECOMP 2011)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 6894))

Included in the following conference series:

Abstract

In principle, automated test case generation – both from source code and models – is a fairly evolved technology, which is on the way to common use in industrial testing and quality assessment of safety-related, software-intensive systems. However, common coverage measures such as branch or MC/DC for source code and states or transitions for state-based models provide only very limited information about the covered (implementation) faults. Fault-based test case generation tries to improve this situation by looking for detecting faults explicitly. This paper describes an approach combining fault- and model-based testing which has been realized in the European project MOGENTES, using UML state machines for representing requirements, and discusses results of its application to a use case from the automotive domain.

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 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.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. Aichernig, B.K., Brandl, H., Jöbstl, E., Krenn, W.: Efficient Mutation Killers in Action. In: Proceedings of the 4th IEEE International Conference on Software Testing, Verification and Validation, ICST (March 2011) (in press)

    Google Scholar 

  2. Aichernig, B.K., Krenn, W.: Model-Based Generation of Test-Cases (for Embedded Systems) – State of the Art Survey. Deliverable 1.2 of EU FP7 project MOGENTES, http://www.mogentes.eu/public/deliverables/MOGENTES_1-19a_1.1r_D1.2_Survey_Part-a.pdf

  3. Aichernig, B.K., He, J.: Mutation testing in UTP. Journal of Formal Aspects of Computing 21(1-2) (February 2009)

    Google Scholar 

  4. Aichernig, B.K., Peischl, B., Weiglhofer, M., Wotawa, F.: Protocol conformance testing a SIP registrar: An industrial application of formal methods. In: Proceedings of the 5th IEEE International Conference on Software Engineering and Formal Methods, pp. 215–224. IEEE, London (2007)

    Google Scholar 

  5. Back, R.J.R., Kurki-Suonio, F.: Distributed cooperation with action systems. ACM Trans. Program. Lang. Syst. 10(4), 513–554 (1988) ISSN 0164-0925

    Article  MATH  Google Scholar 

  6. Bonsangue, M.M., Kok, J.N., Sere, K.: An approach to object-orientation in action systems. In: Jeuring, J. (ed.) MPC 1998. LNCS, vol. 1422, pp. 68–95. Springer, Heidelberg (1998)

    Chapter  Google Scholar 

  7. Brandl, H., Weiglhofer, M., Aichernig, B.K.: Automated Conformance Verification of Hybrid Systems. In: Proceedings of the 2010 10th International Conference on Quality Software (QSIC 2010), pp. 3–12. IEEE Computer Society, Los Alamitos (2010) ISBN 978-0-7695-4131-0

    Chapter  Google Scholar 

  8. Briand, L.C., Di Penta, M., Labiche, Y.: Assessing and improving state-based class testing: a series of experiments. IIEEE Trans. Software Eng. 30, 770–783 (2004)

    Article  Google Scholar 

  9. Chaki, S., Clarke, S., Groce, A., Jha, S., Veith, H.: Formal Verification of Software Components in C. Trans. of SW Engineering 30(6), 388–402 (2004)

    Article  Google Scholar 

  10. Fabbri, S.C.P.F., Maldonado, J.C., Sugeta, T., Masiero, P.C.: Mutation testing applied to validate specifications based on statecharts. In: Proceedings 10th International Symposium on Software Reliability Engineering (Cat. No.PR00443), Boca Raton, FL, USA, pp. S.210–219

    Google Scholar 

  11. Fröhlich, P., Link, J.: Automated test case generation from dynamic models. In: Hwang, J. (ed.) ECOOP 2000. LNCS, vol. 1850, pp. 472–492. Springer, Heidelberg (2000)

    Chapter  Google Scholar 

  12. Gnesi, S., Latella, D., Massink, M., Moruzzi, V., Pisa, I.: Formal test-case generation for uml statecharts. In: Proc. 9th IEEE Int. Conf. on Engineering of Complex Computer Systems 2004, pp. 75–84 (2004)

    Google Scholar 

  13. Jia, Y., Harman, M.: An Analysis and Survey of the Development of Mutation Testing. IEEE Transactions on Software Engineering PP(99), 1

    Google Scholar 

  14. Myers, G.J., Sandler, C.: The Art of Software Testing. John Wiley & Sons, Chichester (2004) ISBN 0471469122

    Google Scholar 

  15. Oster, N., Saglietti, F.: Automatic test data generation by multi-objective optimisation. In: Górski, J. (ed.) SAFECOMP 2006. LNCS, vol. 4166, pp. 426–438. Springer, Heidelberg (2006) ISBN 3-540-45762-3

    Chapter  Google Scholar 

  16. Seifert, D., Helke, S., Santen, T.: Test Case Generation for UML Statecharts. In: Broy, M., Zamulin, A.V. (eds.) PSI 2003. LNCS, vol. 2890, pp. 462–468. Springer, Heidelberg (2004)

    Chapter  Google Scholar 

  17. Shao, Z.: Certified Software. Comm. ACM 53(12), 56–66 (2010)

    Article  Google Scholar 

  18. Tretmans, J.: Test generation with inputs, outputs, and quiescence. In: Margaria, T., Steffen, B. (eds.) TACAS 1996. LNCS, vol. 1055, pp. 127–146. Springer, Heidelberg (1996)

    Chapter  Google Scholar 

  19. VIATRA, http://dev.eclipse.org/viewcvs/indextech.cgi/gmt-home/subprojects/VIATRA2

  20. Walter, D., Täubig, H., Lüth, C.: Experiences in applying formal verification in robotics. In: Schoitsch, E. (ed.) SAFECOMP 2010. LNCS, vol. 6351, pp. 347–360. Springer, Heidelberg (2010)

    Chapter  Google Scholar 

  21. Weißleder, S., Schlingloff, B.H.: Deriving input partitions from UML models for automatic test generation. In: Giese, H. (ed.) MODELS 2008. LNCS, vol. 5002, pp. 151–163. Springer, Heidelberg (2008)

    Chapter  Google Scholar 

  22. Yang, Q., Ma, D., Zhao, Y., Li, Z.: Towards a Formal Verification Approach for Implementation of Web Services Specifications. In: Proc. of 2010 IEEE Asia-Pacific Services Computing Conf., pp. 269–276 (December 2010)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Schlick, R., Herzner, W., Jöbstl, E. (2011). Fault-Based Generation of Test Cases from UML-Models – Approach and Some Experiences. In: Flammini, F., Bologna, S., Vittorini, V. (eds) Computer Safety, Reliability, and Security. SAFECOMP 2011. Lecture Notes in Computer Science, vol 6894. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-24270-0_20

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-24270-0_20

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-24269-4

  • Online ISBN: 978-3-642-24270-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics