Engaging Young Learners with Testing Using the Code Critters Mutation Game
<|reference_start|>Engaging Young Learners with Testing Using the Code Critters Mutation Game: Everyone learns to code nowadays. Writing code, however, does not go without testing, which unfortunately rarely seems to be taught explicitly. Testing is often not deemed important enough or is just not perceived as sufficiently exciting. Testing can be exciting: In this paper, we introduce Code Critters, a serious game designed to teach testing concepts engagingly. In the style of popular tower defense games, players strategically position magical portals that need to distinguish between creatures exhibiting the behavior described by correct code from those that are mutated, and thus faulty. When placing portals, players are implicitly testing: They choose test inputs (i.e., where to place portals), as well as test oracles (i.e., what behavior to expect), and they observe test executions as the creatures wander across the landscape passing the players' portals. An empirical study involving 40 children demonstrates that they actively engage with Code Critters. Their positive feedback provides evidence that they enjoyed playing the game, and some of the children even continued to play Code Critters at home, outside the educational setting of our study.<|reference_end|>
@article{straubinger2024engaging,
    title={Engaging Young Learners with Testing Using the Code Critters Mutation
  Game},
    author={Philipp Straubinger, Lena Bloch, Gordon Fraser},
    journal={arXiv preprint arXiv:2404.09246},
    year={2024},
    archivePrefix={arXiv},
    eprint={2404.09246},
    primaryClass={cs.SE}
}