Skip to main content

Building Test Cases through Model Driven Engineering

  • Conference paper
  • First Online:
Innovations in Computing Sciences and Software Engineering

Abstract

Recently, Model Driven Engineering (MDE) has been proposed to face the complexity in the development, maintenance and evolution of large and distributed software systems. Model Driven Architecture (MDA) is an example of MDE. In this context, model transformations enable a large reuse of software systems through the transformation of a Platform Independent Model into a Platform Specific Model. Although source code can be generated from models, defects can be injected during the modeling or transformation process. In order to delivery software systems without defects that cause errors and fails, the source code must be submitted to test. In this paper, we present an approach that takes care of test in the whole software life cycle, i.e. it starts in the modeling level and finishes in the test of source code of software systems. We provide an example to illustrate our approach.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 219.99
Price excludes VAT (USA)
  • Durable hardcover 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.

References

  1. ATLAS group LINA & INRIA Nantes. ATL - ATLAS Transformation Language: ATL User Manual, 2006.

    Google Scholar 

  2. Dave Steinberg, Frank Budinsky, Marcelo Paternostro, Ed Merks, EMF: Eclipse Modeling Framework, Addison-Wesley Professional, 2 edition, 2008.

    Google Scholar 

  3. Márcio Eduardo Delamaro, José Carlos Maldonado, Mário Jino, Introduction to Software Testing, Campus, 2007.

    Google Scholar 

  4. IBM Haifa Research Laboratory. Overview Model-driven Testing Tools, Accessed on 10/15/09, Available at http://www.haifa.ibm.com/projects/verification/mdt/public.html.

  5. A. Z. Javed, P.A. Strooper, G. N. Watson, “Automated Generation of Test Cases Using Model-Driven Architecture”, Second International Workshop on Automation of Software Test (AST '07), 2007.

    Google Scholar 

  6. Denivaldo Lopes, Slimane Hammoudi, José de Souza, and Alan Bontempo, “Metamodel Matching: Experiments and Comparison”, IEEE International Conference on Software Engineering Advances, 2006.

    Google Scholar 

  7. Gerard Meszaros, xUnit Test Patterns: Refactoring Test Code, Pearson Education, 2007.

    Google Scholar 

  8. OMG, UML Testing Profile, Version 1.0, Document Number: formal/05-07-07, 2005.

    Google Scholar 

  9. Shari Lawrence Pfleeger, Software Engineering: Theory and Practice, Prentice-Hall, 2004.

    Google Scholar 

  10. Ian Sommerville, Software Engineering, 8th edition, Addison-Wesley, 2007.

    Google Scholar 

  11. Douglas C. Schmidt, “Model-Driven Engineering”, IEEE Computer, vol. 39, no. 2, pages 25-31, February 2006.

    Google Scholar 

  12. Sebastian Wieczorek, Mathias Fritzsche, Joachim Schnitter, “Enhancing Test Driven Development with Model Based Testing and Performance Analysis”, Testing: Academic & Industrial Conference – Practice and Research Techniques, 2008.

    Google Scholar 

  13. Pedro Santos Neto, Rodolfo F. Resende, Clarindo Pádua, An Evaluation of a Model-Based Testing Method for Informaiton System, Proceedings of ACM Symposium on Applied Computing, p. 770-776, 2008.

    Google Scholar 

  14. Nuo Li,Qin-qin Ma, Ji Wu, Mao-zhong Jin, Chao Liu, “A Framework of Model-Driven Web Application Testing”, 30th Annual International Computer Software and Applications Conference, p. 157-162, 2006.

    Google Scholar 

  15. OMG. MDA Guide Version 1.0.1, Document Number: omg/2003-06-01, 2003.

    Google Scholar 

  16. Paul Baker, Zhen Ru Dai et al, Model-Driven Testing: Using the UML Testing Profile, 1rst edition, Springer, 2007.

    Google Scholar 

Download references

Acknowledgment

The work described in this paper is supported by FAPEMA, CAPES and CNPq.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Helaine Sousa .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Springer Science+Business Media B.V.

About this paper

Cite this paper

Sousa, H., Lopes, D., Abdelouahab, Z., Hammoudi, S., Claro, D.B. (2010). Building Test Cases through Model Driven Engineering. In: Sobh, T., Elleithy, K. (eds) Innovations in Computing Sciences and Software Engineering. Springer, Dordrecht. https://doi.org/10.1007/978-90-481-9112-3_67

Download citation

  • DOI: https://doi.org/10.1007/978-90-481-9112-3_67

  • Published:

  • Publisher Name: Springer, Dordrecht

  • Print ISBN: 978-90-481-9111-6

  • Online ISBN: 978-90-481-9112-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics