mutatjon based testjng of rule based model
play

Mutatjon-based Testjng of Rule-based Model Transformatjons Using - PowerPoint PPT Presentation

Mutatjon-based Testjng of Rule-based Model Transformatjons Using Higher-order Transformatjons Presented by: Ali Parsai Supervisor: Prof. Vangheluwe Model-driven Engineering 2013-2014 Sofuware Testjng Testing is required to assure quality


  1. Mutatjon-based Testjng of Rule-based Model Transformatjons Using Higher-order Transformatjons Presented by: Ali Parsai Supervisor: Prof. Vangheluwe Model-driven Engineering 2013-2014

  2. Sofuware Testjng Testing is required to assure quality Manual testing is not an option Automatic test-suites do the job 2

  3. Test-suite quality Adequate coverage Ability to catch common bugs Quis custodiet ipsos custodes? Socrates 3

  4. Mutatjon Testjng* Repeatable, scientific approach Simulates realistic situations* Quantifiable, tangible results * DeMillo et al. 1978 * Just et al. 2014 4

  5. Mutatjon Testjng 5

  6. Mutatjon Testjng of Model Transformatjons Requires complicated change Mutants compatible with meta-model Work on semantics* Output Input Meta- Meta- Model Model Model Transfor- mation Output Mutation Operator Model Input Model Faulty Mutant Output Model * Mottu et al. 2006 6

  7. Higher-Order Transformatjons Mutation operator as a higher-order transformation 7

  8. Experiment Tool: AToMPM* * Syriani et al. 2013 8

  9. Experiment Meta-model: RPG Game 9

  10. Mutatjon Operators 110 in total Using a double ramified version of RPG Game Using a ramified version of TransformationRule RSCC: Relation to Same Class Change ROCC: Relation to Other Class Change RSMD: Relation Sequence Modification with Deletion RSMA: Relation Sequence Modification with Addition CACD: Classes Association Creation Deletion CACA: Classes Association Creation Addition 10

  11. Relatjon to Same Class Change 24 in total An association to an object is replaced by another association to the same object 11

  12. Relatjon to Other Class Change 42 in total An association to an object is replaced by another association to another object 12

  13. Relatjon Sequence Modifjcatjon with Deletjon 14 in total An association to an object is removed 13

  14. Relatjon Sequence Modifjcatjon with Additjon 8 in total An association to an object is added 14

  15. Classes Associatjon Creatjon Deletjon 14 in total An association between two objects is deleted 15

  16. Classes Associatjon Creatjon Additjon 8 in total An association between two objects is added 16

  17. Executjon Transformation Rule: HeroPicksGoal Mutation Operator Type: RSMA 17

  18. Executjon Expected Result: 18

  19. 19

  20. Conclusion Mutation testing can be adapted to model-driven context Mutation operators can be defined as higher-order transformations AToMPM can implement these operators 20

  21. References DeMillo, R. A., Lipton, R. J., Sayward, F. G., Apr. 1978. Hints on test data selection: Help for the practicing programmer. Computer 11 (4), 34–41 21

  22. References Just, R., Jalali, D., Inozemtseva, L., Ernst, M. D., Holmes, R., Fraser, G., 2014. Are mutants a valid substitute for real faults in software testing? Tech. Rep. UW- CSE-14-02-02, University of Washington 22

  23. References Mottu, J.-M., Baudry, B., Le Traon, Y., 2006. Mutation analysis testing for model transformations. In: Rensink, A., Warmer, J. (Eds.), Model Driven Architecture Foundations and Applications. Vol. 4066 of Lecture Notes in Computer Science. Springer Berlin Heidelberg, pp. 376–390 23

  24. References Syriani, E., Vangheluwe, H., Mannadiar, R., Hansen, C., Van Mierlo, S., Ergin, H., 2013. Atompm: A web-based modeling environment. In: Demos/Posters/StudentResearch @ MoDELS. pp. 21–25 24

  25. Questjons

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend