6533b86efe1ef96bd12cbd2c

RESEARCH PRODUCT

false

Jonne ItkonenVille IsomöttönenSami KollanusVesa Lappalainen

subject

Unit testingSource codeSyntax (programming languages)Programming languageProcess (engineering)Computer sciencebusiness.industrymedia_common.quotation_subjectJavadoccomputer.software_genreSoftwareSoftware engineeringbusinesscomputerCurriculumCognitive loadmedia_common

description

Research has noticed that imparting TDD-like testing to an early computing curriculum is challenging because it increases technical and cognitive load for the students. This paper addresses the challenge with a software-based solution constructed to facilitate the process of writing tests. The solution allows using a compact while efficient syntax for formulating tests, writing tests into JavaDoc comments, thus close to the source code that implements intended functionalities, and automates the generation of actual test code. The constructed solution -- the ComTest tool -- has now been used in four introductory level programming course offerings. The paper presents the tool and concludes with initial lessons learned.

https://doi.org/10.1145/1822090.1822110