Teaching Loop Testing to Young Learners with the Code Critters Mutation Testing Game

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Straubinger, Philipp, Bloch, Lena, Fraser, Gordon
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866913703477116928
author Straubinger, Philipp
Bloch, Lena
Fraser, Gordon
author_facet Straubinger, Philipp
Bloch, Lena
Fraser, Gordon
contents Serious games can teach essential coding and testing concepts even to younger audiences. In the Code Critter game critters execute short snippets of block-based code while traversing the game map, and players position magical portals (akin to test oracles) at locations (akin to test inputs) to distinguish between critters executing correct code from those who execute faulty code. However, this adaptation of the tower defense genre limits code under test to basic sequences and branches, and excludes the fundamental programming concept of loops. To address this limitation, in this paper we introduce an entirely new game concept integrated into the Code Critters storyline, tasking players to test the behavior of critters collecting ingredients for a healing potion using loop-based recipes at a second-stage level. In a study involving 29 secondary school students, we observed active engagement with these new loop-integrated levels. The results highlight challenges the students face, which can inform future strategies for improving coding and testing education.
format Preprint
id arxiv_https___arxiv_org_abs_2502_16655
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Teaching Loop Testing to Young Learners with the Code Critters Mutation Testing Game
Straubinger, Philipp
Bloch, Lena
Fraser, Gordon
Software Engineering
Serious games can teach essential coding and testing concepts even to younger audiences. In the Code Critter game critters execute short snippets of block-based code while traversing the game map, and players position magical portals (akin to test oracles) at locations (akin to test inputs) to distinguish between critters executing correct code from those who execute faulty code. However, this adaptation of the tower defense genre limits code under test to basic sequences and branches, and excludes the fundamental programming concept of loops. To address this limitation, in this paper we introduce an entirely new game concept integrated into the Code Critters storyline, tasking players to test the behavior of critters collecting ingredients for a healing potion using loop-based recipes at a second-stage level. In a study involving 29 secondary school students, we observed active engagement with these new loop-integrated levels. The results highlight challenges the students face, which can inform future strategies for improving coding and testing education.
title Teaching Loop Testing to Young Learners with the Code Critters Mutation Testing Game
topic Software Engineering
url https://arxiv.org/abs/2502.16655