info:eu-repo/semantics/article
An Experience on Applying Software Testing for Teaching Introductory Programming Courses
Autor
Brito,Maria A. S.
Rossi,João L.
de Souza,Simone R. S.
Braga,Rosana T. V.
Institución
Resumen
Previous work has demonstrated that the use of software testing concepts for teaching introductory programming courses may be a good practice for the students. Indeed, these courses provide limited opportunities for the teacher regarding dynamic activities that could help students in the learning process. This paper describes an approach in which test sets are reused in the context of teaching introductory programming courses, as an alternative to increase the quality of the programs generated by students. An experimental study was carried out to investigate the impact of reusing test cases during the programming learning. The objective is to evaluate if the use of test cases might improve the quality of programs implemented by the students. Sixty undergraduate students participated in the experiment, implementing programs in the domain of vectors. A set of reference programs was used to generate test cases, based on functional testing, to be reused by the students to test their programs. Considering a range of <img width=32 height=32 src="../../../../../img/revistas/cleiej/v15n1/1a050x.png" alt="1 - 10 " class=math>, the programs’ quality increased from <img width=32 height=32 src="../../../../../img/revistas/cleiej/v15n1/1a051x.png" alt="5.3 " class=math>to <img width=32 height=32 src="../../../../../img/revistas/cleiej/v15n1/1a052x.png" alt="7.4 " class=math>using this approach. The results provide evidences that the reuse of test cases during introductory programming courses may help to increase the quality of the programs generated by students, motivating them to apply software testing during the development of the programs