A test generator for model-based testing

The idea of software testing by software itself drives the attempts of creation of model based testing approaches. Model based testing relies on models, that encode the desired behaviour of a system, the relevant behaviour of its environment; however, both the static and the behaviour models are not directly applicable for model based testing. The models should be different from implementation and possess the observational consistency allowing preservation behaviour of parts in the behaviour of the whole. The models need to be built into a tool for preparation of the model and data for test generation. This paper proposes to use protocol models for model based testing. A protocol model presents the external behaviour. Unlike other modelling approaches, the Protocol Modelling semantics incorporates data into the model. This property gives us advantages for the choice of the strategy of test generation. The main contribution of the paper is a combination of algorithms for test generating from a protocol model. The preparation of a protocol model for test generation and the results of test generation are illustrated with an example.

[1]  Mika Katara,et al.  Model-Based Testing Through a GUI , 2005, FATES.

[2]  Ella E. Roubtsova,et al.  CSP parallel composition of aspect models , 2008, AOM@AOSD.

[3]  Ashley T. McNeile,et al.  Protocol Modelling , 2015, BM-FA.

[4]  Ella E. Roubtsova,et al.  Motivation and Guaranteed Completion in Workflow , 2012, BMSD.

[5]  Ella E. Roubtsova,et al.  Process Semantics for UML Component Specifications to Assess Inheritance , 2003, Electron. Notes Theor. Comput. Sci..

[6]  Ashley T. McNeile,et al.  Protocol modelling: A modelling approach that supports reusable behavioural abstractions , 2006, Software & Systems Modeling.

[7]  T. Davenport,et al.  Case Management and the Integration of Labor , 1994 .

[8]  C. A. R. Hoare,et al.  Communicating sequential processes , 1978, CACM.

[9]  Jörg Desel,et al.  ''What Is a Petri Net?'' , 2001, Unifying Petri Nets.

[10]  Mathias Weske,et al.  Case handling: a new paradigm for business process support , 2005, Data Knowl. Eng..

[11]  William R. Cook,et al.  Mixin-based inheritance , 1990, OOPSLA/ECOOP '90.

[12]  Ekkart Kindler,et al.  TGGs for Transforming UML to CSP: Contribution to the AGTIVE 2007 Graph Transformation Tools Contest , 2008 .

[13]  Ella E. Roubtsova,et al.  Composition semantics for executable and evolvable behavioral modeling in MDA , 2009, BM-MDA '09.

[14]  Stefan Hanenberg,et al.  From aspect-oriented design to aspect-oriented programs: tool-supported translation of JPDDs into code , 2007, AOSD.

[15]  Glenford J. Myers,et al.  Art of Software Testing , 1979 .