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.
Tue 28 MayDisplayed time zone: Eastern Time (US & Canada) change
11:00 - 12:30 | |||
11:00 30mResearch paper | Course Design of Introducing Selenium WebDriver TestEd | ||
11:30 30mResearch paper | Engaging Young Learners with Testing Using the Code Critters Mutation Game TestEd Pre-print | ||
12:00 30mResearch paper | Fostering a Testing Mindset through Automated Feedback on Multiple Submissions Using Git-keeper TestEd |