Skip to main content

TesCaV: An Approach for Learning Model-Based Testing and Coverage in Practice

  • Conference paper
  • First Online:
Research Challenges in Information Science (RCIS 2020)

Part of the book series: Lecture Notes in Business Information Processing ((LNBIP,volume 385))

Included in the following conference series:

Abstract

Academy and industry permanently remark the importance of software-testing techniques to improve software quality and to reduce development and maintenance costs. A testing method to be considered for this purpose is Model-Based Testing (MBT), which generates test cases from a model that represents the structure and the behavior of the system to be developed. The generated test suite is easier to maintain and adapt to changes in requirements or evolution of the developed system. However, teaching and learning MBT techniques are not easy tasks; students need to know the different testing techniques to assure that the requirements are fulfilled as well as to identify any failure in the software system modeled. In this work, we present TesCaV, an MBT teaching tool for university students, which is based on a model-driven technology for the automatic software generation from UML diagrams. TesCaV allows validating the test cases defined by students and graphically determines the level of testing coverage over the system modeled. Preliminary results show TesCaV as a promising approach for MBT teaching/learning processes.

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 EPUB and 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

References

  1. Aniche, M., Hermans, F., Deursen, A.V.: Pragmatic software testing education. In: Proceedings of Proceedings of the 50th ACM Technical Symposium on Computer Science Education, pp. 414–420. Association for Computing Machinery (2019)

    Google Scholar 

  2. Baker, P., Dai, Z.R., Grabowski, J., Haugen, Ø., Schieferdecker, I., Williams, C.: Model-Driven Testing: Using the UML Testing Profile. Springer, Heidelberg (2008). https://doi.org/10.1007/978-3-540-72563-3

    Book  Google Scholar 

  3. Barbosa, E.F., Maldonado, J.C., LeBlanc, R., Guzdial, M.: Introducing testing practices into objects and design course. In: 2003 16th Conference on Software Engineering Education and Training, (CSEE&T 2003), pp. 279–286. IEEE (2003)

    Google Scholar 

  4. Basili, V., Caldeira, G., Rombach, H.D.: The Goal Question Metric Paradigm. Encycl. Softw. Eng. 2, 528–532 (1994)

    Google Scholar 

  5. Beppe, T.A., de Araujo, I.L., Aragao, B.S., Santos, I.D., Ximenes, D., Andrade, R.M.C.: GreaTest: A Card Game to Motivate the Software Testing Learning. ACM (2018)

    Google Scholar 

  6. Bogdanova, D., Snoeck, M.: CaMeLOT: an educational framework for conceptual data modelling. Inf. Softw. Technol. 110, 92–107 (2019)

    Article  Google Scholar 

  7. Buffardi, K., Edwards, S.H.: A formative study of influences on student testing behaviors. In: 45th ACM Technical Symposium on Computer Science Education, pp. 597–602. ACM (2014)

    Google Scholar 

  8. Buffardi, K., Edwards, S.H.: Responses to adaptive feedback for software testing. In: 2014 Conference on Innovation & Technology in Computer Science Education, pp. 165–170. ACM (2014)

    Google Scholar 

  9. Clarke, P.J., Davis, D., King, T.M., Pava, J., Jones, E.L.: Integrating testing into software engineering courses supported by a collaborative learning environment. ACM Trans. Comput. Educ. 14(3), 1–33 (2014). Article 18

    Article  Google Scholar 

  10. Clarke, P.J., Pava, J., Davis, D., Hernandez, F., King, T.M.: Using WReSTT in SE courses: an empirical study. In: 43rd ACM Technical Symposium on Computer Science Education, pp. 307–312. ACM (2012)

    Google Scholar 

  11. Edwards, S.H., Pérez-Quiñones, M.A.: Experiences using test-driven development with an automated grader. J. Comput. Sci. Coll. 22(3), 44–50 (2007)

    Google Scholar 

  12. Elbaum, S., Person, S., Dokulil, J., Jorde, M.: Bug hunt: making early software testing lessons engaging and affordable. In: 29th International Conference on Software Engineering, pp. 688–697. IEEE Computer Society (2007)

    Google Scholar 

  13. Finstad, K.: The usability metric for user experience. Interact. Comput. 22(5), 323–327 (2010)

    Article  Google Scholar 

  14. Fu, Y., Clarke, P.: Gamification-based cyber-enabled learning environment of software testing. In: ASEE Annual Conference and Expo (2016)

    Google Scholar 

  15. Giachetti, G., Marín, B., López, L., Franch, X., Pastor, O.: Verifying goal-oriented specifications used in model-driven development processes. Inf. Syst. 64, 41–62 (2017)

    Article  Google Scholar 

  16. Gotel, O., Scharff, C., Wildenberg, A.: Teaching software quality assurance by encouraging student contributions to an open source web-based system for the assessment of programming assignments. ACM SIGCSE Bull. 40(3), 214–218 (2008)

    Article  Google Scholar 

  17. Heinonen, K., Hirvikoski, K., Luukkainen, M., Vihavainen, A.: Learning agile software engineering practices using coding dojo. In: 14th Annual ACM SIGITE Conference on Information Technology Education, pp. 97–102. ACM (2013)

    Google Scholar 

  18. Jones, E.L.: An experiential approach to incorporating software testing into the computer science curriculum. In: 31st Annual Frontiers in Education Conference. Impact on Engineering and Science Education, pp. F3D-7-F3D-11. IEEE (2001)

    Google Scholar 

  19. KU-Leuven: JMermaid/MERLIN tool. http://merode.econ.kuleuven.be/Tools.html

  20. Marín, B., Gallardo, C., Quiroga, D., Giachetti, G., Serral, E.: Testing of model-driven development applications. Softw. Qual. J. 25(2), 407–435 (2017)

    Article  Google Scholar 

  21. Marín, B., Larenas, F., Giachetti, G.: Learning conceptual modeling design through the Classutopia serious game. Int. J. Softw. Eng. Knowl. Eng. 28(11n12), 1679–1699 (2018)

    Article  Google Scholar 

  22. Martinez, A.: Use of JiTT in a graduate software testing course: an experience report. In: 2018 IEEE/ACM 40th International Conference on Software Engineering: Software Engineering Education and Training, pp. 108–115. IEEE (2018)

    Google Scholar 

  23. Oliveira, B., Afonso, P., Costa, H.: TestEG - a computational game for teaching of software testing. In: 2016 35th International Conference of the Chilean Computer Science Society. IEEE (2016)

    Google Scholar 

  24. OMG: Unified modeling language (UML) 2.5 specification. http://www.omg.org/spec/UML/2.5/

  25. Pastor, O., Molina, J.C.: Model-Driven Architecture in Practice: A Software Production Environment Based on Conceptual Modeling. Springer, Heidelberg (2007). https://doi.org/10.1007/978-3-540-71868-0

    Book  Google Scholar 

  26. Reyes-Garcia, F., Marín, B., Alarcón-Bañados, S.: Visualization of MBT testing coverage. In: 13th International Conference on Research Challenges in Information Science (RCIS), pp. 1–2. IEEE (2019). ISBN 978-1-7281-4844-1

    Google Scholar 

  27. Rojas, J.M., Fraser, G.: Teaching software testing with a mutation testing game. In: Proceedings of PPIG, p. 23 (2016)

    Google Scholar 

  28. Runeson, P., Host, M.: Guidelines for conducting and reporting case study research in software engineering. Empir. Softw. Eng. J. 14(2), 131–164 (2009)

    Article  Google Scholar 

  29. Schnotz, W.: An integrated model of multimedia learning. In: Mayer, R.E. (ed.) The Cambridge Handbook of Multimedia Learning, pp. 49–69. Cambridge University Press, New York (2005)

    Chapter  Google Scholar 

  30. Selic, B.: The pragmatics of model-driven development. IEEE Softw. 20(5), 19–25 (2003)

    Article  Google Scholar 

  31. Smith, R., Tang, T., Warren, J., Rixner, S.: An automated system for interactively learning software testing. In: 2017 ACM Conference on Innovation and Technology in Computer Science Education, pp. 98–103. ACM (2017)

    Google Scholar 

  32. Snoeck, M.: Enterprise Information Systems Engineering. Springer, Cham (2014). https://doi.org/10.1007/978-3-319-10145-3

    Book  Google Scholar 

  33. Sommerville, I.: Software Engineering 9th Edition, vol. 137035152 (2011). ISBN-10

    Google Scholar 

  34. Soska, A., Mottok, J., Wolff, C.: An experimental card game for software testing: development, design and evaluation of a physical card game to deepen the knowledge of students in academic software testing education. In: Proceedings of 2016 IEEE Global Engineering Education Conference (EDUCON), pp. 576–584. IEEE (2016)

    Google Scholar 

  35. Tiwari, S., Saini, V., Singh, P., Sureka, A.: A Case Study on the Application of Case-Based Learning in Software Testing. ACM (2018)

    Google Scholar 

  36. Utting, M., Legeard, B.: Practical Model-Based Testing: A Tools Approach. Elsevier, Amsterdam (2010)

    Google Scholar 

  37. Valle, P.H.D., Toda, A.M., Barbosa, E.F., Maldonado, J.C.: Educational games: a contribution to software testing education. In: 2017 IEEE Frontiers in Education Conference. IEEE (2017)

    Google Scholar 

  38. Wohlin, C., Runeson, P., Host, M., Ohlsson, M., Regnell, B.: Experimentation in Software Engineering. Springer, Heidelberg (2012). https://doi.org/10.1007/978-3-642-29044-2

    Book  MATH  Google Scholar 

  39. Wong, E.: Improving the state of undergraduate software testing education. In: ASEE Annual Conference & Exposition, pp. 25.754.1-25.754.12 (2012). ISSN 2153-5965

    Google Scholar 

  40. Wong, W.E., Bertolino, A., Debroy, V., Mathur, A., Offutt, J., Vouk, M.: Teaching Software Testing: Experiences, Lessons Learned and the Path Forward. IEEE (2011)

    Google Scholar 

Download references

Acknowledgement

This work was funded by CONICYT project ENSE REDI170020, 2017–2019.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Beatriz Marín .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Marín, B., Alarcón, S., Giachetti, G., Snoeck, M. (2020). TesCaV: An Approach for Learning Model-Based Testing and Coverage in Practice. In: Dalpiaz, F., Zdravkovic, J., Loucopoulos, P. (eds) Research Challenges in Information Science. RCIS 2020. Lecture Notes in Business Information Processing, vol 385. Springer, Cham. https://doi.org/10.1007/978-3-030-50316-1_18

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-50316-1_18

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-50315-4

  • Online ISBN: 978-3-030-50316-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics