Nothing Special   »   [go: up one dir, main page]

Skip to main content

Model-Driven Test Code Generation

  • Conference paper
Evaluation of Novel Approaches to Software Engineering (ENASE 2011)

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.

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

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

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.

Similar content being viewed by others

References

  1. Mens, T., Van Corp, P.: A taxonomy of model transformation. Electronic Notes in Theoretical Computer Sciences 152, 125–142 (2006)

    Article  Google Scholar 

  2. Prasanna, M., Sivanandam, S., Venkatesan, R., Sundarrajan, R.: A survey on automatic test case generation. Academic Open Internet Journal 15, 1–5 (2005)

    Google Scholar 

  3. Dias Neto, A., Subramanyan, R., Vieira, M., Travassos, G.: A survey on model-based testing approaches: A systematic review, pp. 31–36 (2007)

    Google Scholar 

  4. Bertolino, A.: Software testing research: Achievements, challenges, dreams. In: Internation Conference on Software Engineering, pp. 85–103. IEEE Computer Society (2007)

    Google Scholar 

  5. 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)

    Google Scholar 

  6. 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)

    Chapter  Google Scholar 

  7. OMG: Mof model to text transformation language. Technical Report Formal/2008-01-16, OMG (2008)

    Google Scholar 

  8. Miller, J., Mukerji, J.: Mda guide version 1.0.1. Technical Report OMG/2003-06-01 (2003)

    Google Scholar 

  9. Bezivin, J.: On the unification power of models. Software and Systems Modeling 4, 171–188 (2005)

    Article  Google Scholar 

  10. OMG: Uml testing profile version 1.0. Technical Report formal/05-07-07 (2005)

    Google Scholar 

  11. OMG: Mof query/view/transformation specification. Technical report (2007)

    Google Scholar 

  12. Beck, K.: Kent Beck’s guide to better Smalltalk: a sorted collection. Cambridge University Press (1999)

    Google Scholar 

  13. Dai, Z.: Model-driven testing with uml 2.0. In: Workshop on Model Driven Architecture with an emphasis on Methodologies and Transformations, EWMDA (2004)

    Google Scholar 

  14. Harmon, P.: The omg’s model driven architecture and bpm. Newsletter of Business Process Trends (2004)

    Google Scholar 

  15. Baker, P., Dai, Z., Grabowski, J., Schieferdecker, I., Haugen, O., Williams, C.: Model-Driven Testing: Using the UML Testing Profile. Springer, Heidelberg (2007)

    Google Scholar 

  16. Kleppe, A., Warmer, J., Bast, W.: MDA Explained; The Model Driven Architecture: Practice and Promise. Addison-Wesley, Reading (2003)

    Google Scholar 

  17. Mellor, S., Scott, K., Uhl, A., Weise, D.: MDA Distilled: Principles of Model-Driven Architecture. Addison Wesley (2004)

    Google Scholar 

  18. 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)

    Chapter  Google Scholar 

  19. Javed, A., Strooper, P., Watson, G.: Automated generation of test cases using model-driven architecture. In: International Workshop on Automation of Software Test (2007)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics