Skip to main content

Mutation Analysis Testing for Model Transformations

  • Conference paper
Model Driven Architecture – Foundations and Applications (ECMDA-FA 2006)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 4066))

Abstract

In MDE, model transformations should be efficiently tested so that it may be used and reused safely. Mutation analysis is an efficient technique to evaluate the quality of test data, and has been extensively studied both for procedural and object-oriented languages. In this paper, we study how it can be adapted to model oriented programming. Since no model transformation language has been widely accepted today, we propose generic fault models that are related to the model transformation process. First, we identify abstract operations that constitute this process: model navigation, model’s elements filtering, output model creation and input model modification. Then, we propose a set of specific mutation operators which are directly inspired from these operations. We believe that these operators are meaningful since a large part of the errors in a transformation are due to the manipulation of complex models regardless of the concrete implementation language.

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

References

  1. Voas, J.M., Miller, K.: The Revealing Power of a Test Case. Software Testing, Verification and Reliability 2(1), 25–42 (1992)

    Article  Google Scholar 

  2. Offutt, A.J., Pan, J., Tewary, K., Zhang, T.: An experimental evaluation of data flow and mutation testing. Software Practice and Experience 26(2) (1996)

    Google Scholar 

  3. DeMillo, R., Lipton, R., Sayward, F.: Hints on Test Data Selection: Help For The Practicing Programmer. IEEE Computer 11(4), 34–41 (1978)

    Google Scholar 

  4. Ma, Y.-S., Offutt, J., Kwon, Y.R.: MuJava: An Automated Class Mutation System. Software Testing, Verification and Reliability 15(2), 97–133 (2005)

    Article  Google Scholar 

  5. Muller, P.-A., Fleurey, F., Vojtisek, D., Drey, Z., Pollet, D., Fondement, F., Studer, P., Jézéquel, J.-M.: On Executable Meta-Languages applied to Model Transformations. In: Bruel, J.-M. (ed.) MoDELS 2005. LNCS, vol. 3844. Springer, Heidelberg (2006)

    Google Scholar 

  6. Lawley, M., Steel, J.: Practical Declarative Model Transformation with Tefkat. In: Bruel, J.-M. (ed.) MoDELS 2005. LNCS, vol. 3844, pp. 139–150. Springer, Heidelberg (2006)

    Chapter  Google Scholar 

  7. Bézivin, J., Farcet, N., Jézéquel, J.-M., Langlois, B., Pollet, D.: Reflective Model Driven Engineering. In: Stevens, P., Whittle, J., Booch, G. (eds.) UML 2003. LNCS, vol. 2863, pp. 175–189. Springer, Heidelberg (2003)

    Chapter  Google Scholar 

  8. Judson, S.R., France, R., Carver, D.L.: Model Transformations at the Metamodel Level. In: Workshop in Software Model Engineering (in conjunction with UML 2003), San Francisco, CA, USA (2003)

    Google Scholar 

  9. Steel, J., Lawley, M.: Model-Based Test Driven Development of the Tefkat Model-Transformation Engine. In: ISSRE 2004 Int. Symposium on Software Reliability Engineering, Saint-Malo, France (2004)

    Google Scholar 

  10. Lin, Y., Zhang, J., Gray, J.: A Testing Framework for Model Transformations. In: Model-Driven Software Development - Research and Practice in Software Engineering. Springer, Heidelberg (2005)

    Google Scholar 

  11. Küster, J.M.: Systematic Validation of Model Transformations. In: WiSME 2004 (associated to UML 2004), Lisbon, Portugal (2004)

    Google Scholar 

  12. Fleurey, F., Steel, J., Baudry, B.: Validation in Model-Driven Engineering: Testing Model Transformations. In: MoDeVa, Rennes, France (2004)

    Google Scholar 

  13. Ghosh, S., Mathur, A.: Interface mutation. Software Testing, Verification and Reliability 11(4), 227–247 (2001)

    Article  Google Scholar 

  14. Trung, D.-T., Ghosh, S., Robert, F., Baudry, B., Fleurey, F.: A Taxonomy of Faults for UML Designs. In: 2nd MoDeVa workshop - Model design and Validation, in conjunction with MoDELS 2005, Montego Bay, Jamaica (2005)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2006 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Mottu, JM., Baudry, B., Le Traon, Y. (2006). Mutation Analysis Testing for Model Transformations. In: Rensink, A., Warmer, J. (eds) Model Driven Architecture – Foundations and Applications. ECMDA-FA 2006. Lecture Notes in Computer Science, vol 4066. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11787044_28

Download citation

  • DOI: https://doi.org/10.1007/11787044_28

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-35909-8

  • Online ISBN: 978-3-540-35910-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics