An experience in integrating automated unit testing practices in an introductory programming course

  • Authors:
  • Elena García Barriocanal;Miguel-Ángel Sicilia Urbán;Ignacio Aedo Cuevas;Paloma Díaz Pérez

  • Affiliations:
  • University of Alcalá. Ctra. Barcelona km. 33.600, 28871. Madrid, Spain;Carlos III University. Avda. Universidad, 30, 28911. Madrid, Spain;Carlos III University. Avda. Universidad, 30, 28911. Madrid, Spain;Carlos III University. Avda. Universidad, 30, 28911. Madrid, Spain

  • Venue:
  • ACM SIGCSE Bulletin
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

Unit testing is one of the core practices in the Extreme Programming lightweight software development method, and it is usually carried out with the help of software frameworks that ease the construction of test cases as an integral part of programming tasks. This work describes our first results in studying the integration of automated unit testing practices in conventional 'introduction to programming' laboratories. Since the work used a classical procedural language in the course's assignments, we had to design a specific testing framework called tpUnit. The results of the experiment points out that a straightforward approach for the integration of unit testing in first-semester courses do not result in the expected outcomes in terms of student's engagement in the practice.