Abstract
Model-driven Testing (MDT) refers a model-based testing that follows Model Driven Engineering paradigm, i.e., the test cases are automated generated using models extracted from software artifacts through model transformations. In previous work, we developed a model to model transformation that takes as input UML 2.0 sequence diagrams, and automatically derive test cases scenarios that conforms the UML Testing Profile. In this work, these test case scenarios are automatically transformed using model to text transformation. This transformation, which can be applied to obtain test cases in a variety of programming languages, is implemented with MOFScript, which is also an OMG standard.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Mens, T., Van Corp, P.: A taxonomy of model transformation. Electronic Notes in Theoretical Computer Sciences 152, 125–142 (2006)
Prasanna, M., Sivanandam, S., Venkatesan, R., Sundarrajan, R.: A survey on automatic test case generation. Academic Open Internet Journal 15, 1–5 (2005)
Dias Neto, A., Subramanyan, R., Vieira, M., Travassos, G.: A survey on model-based testing approaches: A systematic review, pp. 31–36 (2007)
Bertolino, A.: Software testing research: Achievements, challenges, dreams. In: Internation Conference on Software Engineering, pp. 85–103. IEEE Computer Society (2007)
Perez Lamancha, B., Polo, M., Piattini, M.: An automated model-driven testing framework for model-driven development and software product lines, pp. 112–121 (2010)
Perez Lamancha, B., Reales Mateo, P., Garcia, I., Polo Usaola, M., Piattini, M.: Automated model-based testing using the uml testing profile and qvt. In: Workshop on Model-Driven Engineering, Verification and Validation, pp. 1–10. ACM, Denver (2009)
OMG: Mof model to text transformation language. Technical Report Formal/2008-01-16, OMG (2008)
Miller, J., Mukerji, J.: Mda guide version 1.0.1. Technical Report OMG/2003-06-01 (2003)
Bezivin, J.: On the unification power of models. Software and Systems Modeling 4, 171–188 (2005)
OMG: Uml testing profile version 1.0. Technical Report formal/05-07-07 (2005)
OMG: Mof query/view/transformation specification. Technical report (2007)
Beck, K.: Kent Beck’s guide to better Smalltalk: a sorted collection. Cambridge University Press (1999)
Dai, Z.: Model-driven testing with uml 2.0. In: Workshop on Model Driven Architecture with an emphasis on Methodologies and Transformations, EWMDA (2004)
Harmon, P.: The omg’s model driven architecture and bpm. Newsletter of Business Process Trends (2004)
Baker, P., Dai, Z., Grabowski, J., Schieferdecker, I., Haugen, O., Williams, C.: Model-Driven Testing: Using the UML Testing Profile. Springer, Heidelberg (2007)
Kleppe, A., Warmer, J., Bast, W.: MDA Explained; The Model Driven Architecture: Practice and Promise. Addison-Wesley, Reading (2003)
Mellor, S., Scott, K., Uhl, A., Weise, D.: MDA Distilled: Principles of Model-Driven Architecture. Addison Wesley (2004)
Naslavsky, L., Ziv, H., Richardson, D.: Towawrds traceability of model-based testing artifacts. In: Workshop on Advances in Model-based Testing, pp. 105–114. ACM, London (2007)
Javed, A., Strooper, P., Watson, G.: Automated generation of test cases using model-driven architecture. In: International Workshop on Automation of Software Test (2007)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2013 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Lamancha, B.P., Reales, P., Polo, M., Caivano, D. (2013). Model-Driven Test Code Generation. In: Maciaszek, L.A., Zhang, K. (eds) Evaluation of Novel Approaches to Software Engineering. ENASE 2011. Communications in Computer and Information Science, vol 275. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-32341-6_11
Download citation
DOI: https://doi.org/10.1007/978-3-642-32341-6_11
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-32340-9
Online ISBN: 978-3-642-32341-6
eBook Packages: Computer ScienceComputer Science (R0)