Articles

How to teach testing?

Published:
2018-12-01
Authors
View
Keywords
License

Copyright (c) 2018 Tibor Gregorics, Krisztián Mózsi and Rudolf Szendrei

Creative Commons License

This work is licensed under a Creative Commons Attribution 4.0 International License.

How To Cite
Selected Style: APA
Gregorics, T., Mózsi, K., & Szendrei, R. (2018). How to teach testing?. Teaching Mathematics and Computer Science, 16(2), 215-232. https://doi.org/10.5485/TMCS.2018.0451
Abstract
Testing methodology is an important part of IT education. It is desired to show the beginner programmer students the advantage of testing by having them do only a small amount of work. In this paper, we will show how to make testing as a part of programming in simple exercises. These exercises are solved with the analogous programming technique, which is based on programming theorems over enumerators. We have elaborated grey-box test cases for the programs which have been developed based on programming theorems. These test cases can be taught together with the programming theorems, and they can serve as a standard testing procedure for programmers. We also suggest a test tool to automatize test runs, and we will discuss its usage in a short case study.