Unit testing as a teaching tool in higher education
Facultad de Ciencias, Universidad Nacional Autónoma de México, Av. Universidad Nº 3000, CU, 04510, México DF, México
a Corresponding author: firstname.lastname@example.org
Unit testing in the programming world has had a profound impact in the way modern complex systems are developed. Many Open Source and Free Software projects encourage (and in some cases, mandate) the use of unit tests for new code submissions, and many software companies around the world have incorporated unit testing as part of their standard developing practices. And although not all software engineers use them, very few (if at all) object their use. However, there is almost no research available pertaining the use of unit tests as a teaching tool in introductory programming courses. I have been teaching introductory programming courses in the Computer Sciences program at the Sciences Faculty in the National Autonomous University of Mexico for almost ten years, and since 2013 I have been using unit testing as a teaching tool in those courses. The intent of this paper is to discuss the results of this experience.
© Owned by the authors, published by EDP Sciences, 2016
This is an Open Access article distributed under the terms of the Creative Commons Attribution License 4.0, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.