Skip to main content
Log in

Test case generation in practice for communicating embedded systems

Praxisorientierte Testfallgenerierung für eingebettete Systeme

  • Originalarbeiten
  • Published:
e & i Elektrotechnik und Informationstechnik Aims and scope Submit manuscript

Zusammenfassung

Die gewaltige Zunahme an Komplexität in eingebetteter Software – speziell in der Automobilindustrie, in der die Funktionalität über mehrere Steuergeräte verteilt ist, – benötigt auch eine stetig wachsende Anzahl an Testfällen, um die Produktqualität zu gewährleisten. Automatische Testfallgenerierung kann diese Situation verbessern, ist aber durch das bekannte Problem der Zustandsraumexplosion, das durch die unendliche Anzahl an möglichen Ausführungspfaden verursacht wird, limitiert. Eine Minimierung des Zustandsraumes und die damit verbundene Erhöhung der Skalierbarkeit kann durch die Anwendung von Regeln auf die Testfallgenerierung erreicht werden. Eine flexible Anpassung dieser Regeln erlaubt eine schnelle Testfallgenerierung, die auf die zugrundeliegende Struktur der Modelle zugeschnitten werden kann. Die Auswirkungen der Regeln auf die Suchalgorithmen zur Pfadfindung werden in dieser Arbeit untersucht. Die Analyse wird mittels einer symbolischen Testfallgenerierungsmethode, die auf Basis von zeitgesteuerten, deterministischen UML-Zustandsautomaten arbeitet, durchgeführt.

Summary

The vastly growing complexity of software enabled functionality – especially in the automotive industry where it is usually distributed over a network – requires also a steadily increasing number of test cases to ensure a high product quality. The automatic generation of test cases can ease this situation, but suffers from the well-known state space explosion problem, which is caused by the often infinite number of possible execution paths. The state space can be minimized by rules applied to test case generation leading to an enhanced scalability. A flexible rule adjustment according to the model structure allows a tailored test case generation capable of being fast as well as complete according to a given goal. In this work the implications of such rules on the searching capabilities are studied. The analysis is performed on a symbolic test generation engine based on a network of timed, deterministic UML state machines.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

References

  • Behrmann, G., David, A., Larsen, K. G. (2004): A tutorial on uppaal. in Formal Methods for the Design of Real-Time Systems: 4th International School on Formal Methods for the Design of Computer, Communication, and Software Systems, SFM-RT 2004, ser. LNCS. In: Bernardo, M., Corradini, F. (eds.) no. 3185. Springer, pp. 200–236

  • Chimisliu, V., Schwarzl, C., Peischl, B. (2009): From uml statecharts to lotos: a semantics preserving model transformation. In: Proceedings of the 2009 Ninth International Conference on Quality Software, ser. QSIC '09. Washington, DC, USA: IEEE Computer Society, pp. 173–178. [Online]. Available: http://dx.doi.org/10.1109/QSIC.2009.31

  • Clarke, D., Jéron, T., Rusu, V., Zinovieva, E. (2002): Stg: a symbolic test generation tool. In: Lecture Notes in Computer Science. Springer, pp. 151–173

  • Conformiq designer. [Online]. Available: http://www.conformiq.com/downloads/Conformiq4dot2dot0Manual.pdf

  • Elvior testcast generator. [Online]. Available: http://www.elvior.ee/motes/generator

  • Frantzen, L., Tretmans, J., Willemse, T. A. C. (2005): Test generation based on symbolic specifications. In: FATES 2004, number 3395 in LNCS. Springer-Verlag, pp. 1–15

  • Godefroid, P., Klarlund, N., Sen, K. (2005): Dart: directed automated random testing. in PLDI '05: Proceedings of the 2005 ACM SIGPLAN conference on Programming language design and implementation, vol. 40, no. 6. New York, NY, USA: ACM Press, pp. 213–223. [Online]. Available: http://dx.doi.org/10.1145/1065010.1065036

  • Jard, C., Jéron, T. (2005): TGV: theory, principles and algorithms: a tool for the automatic synthesis of conformance test cases for non-deterministic reactive systems. Int J Softw Tools Technol Transf, 7 (4): 297–315

    Article  Google Scholar 

  • Latella, D., Majzik, I., Massink, M. (1999): Automatic verification of a behavioural subset of UML statechart diagrams using the SPIN model-checker. Formal Aspects of Computing, 11 (6): 637–664

    Article  MATH  Google Scholar 

  • McMinn, P. (2004): Search-based software test data generation: a survey: research articles. Softw Test Verif Reliab, 14: 105–156. [Online]. Available: http://portal.acm.org/citation.cfm?id=1077276.1077279

  • OMG, UML superstructure reference. http://www.omg.org/spec/uml/2.1.2/superstructure/pdf/. (last visited Jan. 09)

  • Qtronic testweaver. [Online]. Available: http://www.qtronic.de/de/weaver.html

  • Schwarzl, C., Peischl, B. (2010): Generation of executable test cases based on behavioral uml system models. In: Proceedings of the 5th Workshop on Automation of Software Test, ser. AST '10. New York, NY, USA: ACM, pp. 31–34. [Online]. Available: http://doi.acm.org/10.1145/1808266.1808271

  • Schwarzl, C., Peischl, B. (2010): Static- and dynamic consistency analysis of uml state chart models. In: Model Driven Engineering Languages and Systems, ser. Lecture Notes in Computer Science, vol. 6394. Springer Berlin/Heidelberg, pp. 151–165. [Online]. Available: http://dx.doi.org/10.1007/978-3-642-16145-2_11

  • Schwarzl, C., Peischl, B. (2010): Test sequence generation from communicating uml state charts: an industrial application of symbolic transition systems. In: Proceedings of the 2010 10th International Conference on Quality Software, ser. QSIC '10. Washington, DC, USA: IEEE Computer Society, pp. 122–131. [Online]. Available: http://dx.doi.org/10.1109/QSIC.2010.22

  • Sen, K. (2007): Concolic testing. in ASE '07: Proceedings of the twenty-second IEEE/ACM international conference on Automated software engineering. New York, NY, USA: ACM, pp. 571–572

  • Smartesting certifyit. [Online]. Available: http://www.smartesting.com/index.php/sfKsnNewsCategoryForCmsPage/downloadFile/item_id/149/media_id/134

  • Tretmans, J., Brinksma, E., Resyste, C. D. (2003): Torx: automated model based testing – côte de resyste

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Schwarzl, C., Wotawa, F. Test case generation in practice for communicating embedded systems. Elektrotech. Inftech. 128, 240–244 (2011). https://doi.org/10.1007/s00502-011-0009-5

Download citation

  • Received:

  • Accepted:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00502-011-0009-5

Schlüsselwörter

Keywords

Navigation