Model-Based System Testing Using Visual Contracts

In system testing the system under test (SUT) is tested against high-level requirements which are captured at early phases of the development process. Logical test cases developed from these requirements must be translated to executable test cases by augmenting them with implementation details. If manually done these activities are error-prone and tedious. In this paper we introduce a model-based approach for system testing where we generate first logical test cases from use case diagrams which are partially formalized by visual contracts, and then we transform these to executable test cases using model transformation. We derive model transformation rules from the design decisions of developers.

[1]  Thomas O. Meservy,et al.  Transforming software development: an MDA road map , 2005, Computer.

[2]  Reiko Heckel,et al.  Double-Pullback Transitions and Coalgebraic Loose Semantics for Graph Transformation Systems , 2001, Appl. Categorical Struct..

[3]  Gregor Engels,et al.  Executable visual contracts , 2005, 2005 IEEE Symposium on Visual Languages and Human-Centric Computing (VL/HCC'05).

[4]  Klaus Beetz,et al.  Model Based Testing of System Requirements using UML Use Case Models , 2008, 2008 1st International Conference on Software Testing, Verification, and Validation.

[5]  Sarfraz Khurshid,et al.  Korat: automated testing based on Java predicates , 2002, ISSTA '02.

[6]  Mordechai Ben-Menachem,et al.  Writing effective use cases , 2001, SOEN.

[7]  Bertrand Meyer,et al.  Applying 'design by contract' , 1992, Computer.

[8]  Gregor Engels,et al.  Formalisierung der funktionalen Anforderungen mit visuellen Kontrakten und deren Einsatz für modellbasiertes Testen , 2008, Softwaretechnik-Trends.

[9]  Barbara Paech,et al.  Testfallgenerierung aus Semi-formalen Use Cases , 2007, GI Jahrestagung.

[10]  MeyerBertrand,et al.  Design by Contract , 1997 .

[11]  Mathias Weske,et al.  Object-Oriented and Internet-Based Technologies, 5th Annual International Conference on Object-Oriented and Internet-Based Technologies, Concepts, and Applications for a NetworkedWorld, Net.ObjectDays 2004, Erfurt, Germany, September 27-30, 2004, Proceedings , 2004, Net.ObjectDays.

[12]  Gregor Engels,et al.  Modellbasierter Komponententest mit visuellen Kontrakten , 2008, GI Jahrestagung.

[13]  Ilinca Ciupa,et al.  Automatic Testing Based on Design by Contract TM , 2005 .

[14]  Ina Schieferdecker,et al.  From U2TP Models to Executable Tests with TTCN-3 - An Approach to Model Driven Testing , 2005, TestCom.