Teaching Software Testing and Debugging with the Serious Game Sojourner under Sabotage Conference: 34th ACM SIGSOFT International Symposium on Software Testing and Analysis; June 25–28, 2025; Trondheim, Norway 34th ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA Companion
Philipp Straubinger, Tim Greller, Gordon Fraser · 2025
Read Teaching Software Testing and Debugging with the Serious Game Sojourner under Sabotage Conference: 34th ACM SIGSOFT International Symposium on Software Testing and Analysis; June 25–28, 2025; Trondheim, Norway 34th ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA Companion by Philipp Straubinger, Tim Greller, Gordon Fraser (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2504-19291.txt.
Introduction
Philipp Straubinger, Tim Greller, and Gordon Fraser built a game that teaches software testing, described in a 2025 paper. Testing and debugging are vital skills, but students often find them dull. Their game, Sojourner under Sabotage, runs in a web browser. Players join a spaceship crew whose parts have been sabotaged by an unknown hand.
To fix the ship, players write unit tests and debug real code with a standard testing tool. The story frame turns dry drills into missions with stakes. The authors report gains in student engagement, test coverage, and debugging skill. The game gives teachers a hands-on way to make a hard topic stick, and it can be reused in class without special hardware.
Catalog record
| CREATOR | Philipp Straubinger, Tim Greller, Gordon Fraser |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 21 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2504-19291
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Teaching Software Testing and Debugging with the Serious Game Sojourner under Sabotage Conference: 34th ACM SIGSOFT International Symposium on Software Testing and Analysis; June 25–28, 2025; Trondheim, Norway 34th ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA Companion ’25), June 25–28, 2025, Trondheim, Norway DOI: 10.1145/3713081.3731730 ISBN: 979-8-4007-1474-0/2025/06 CCS: Software and its engineering Software testing and debugging CCS: Social and professional topics Software engineering education CCS: Software and its engineering Interactive games Philipp Straubinger, Tim Greller, Gordon Fraser Abstract . Software testing and debugging are often seen as tedious, making them challenging to teach effectively. We present Sojourner under Sabotage , a browser-based serious game that enhances learning through interactive, narrative-driven challenges. Players act as spaceship crew members, using unit tests and debugging techniques to fix sabotaged components. Sojourner under Sabotage provides hands-on experience with the real-world testing framework JUnit, improving student engagement, test coverage, and debugging skills. 1. Introduction Software testing and debugging are critical skills in software engineering, yet they are often perceived as tedious and secondary to programming by students ( Park and Cheon 2025 ; Garousi et al. 2020b ) . Traditional teaching methods struggle to engage learners, leading to a gap between theoretical knowledge and practical application ( Jamil et al. 2016 ; McCauley et al. 2008 ; Straubinger and Fraser 2023 ) . To address this challenge, gamification, and serious games have been explored as potential solutions to enhance motivation and learning outcomes in software testing education ( Quintero and Álvarez 2023 ; Blanco et al. 2023 ; Yamoul et al. 2023 ; Connolly et al. 2012 ) . In this paper, we therefore present Sojourner under Sabotage , a browser-based serious game designed to teach software testing and debugging in an engaging, interactive manner. Players take on the role of a spaceship crew member who must identify and fix sabotaged components using unit tests and debugging techniques. Unlike conventional educational tools, Sojourner under Sabotage integrates a compelling story with structured programming challenges, allowing students to gain hands-on experience with testing concepts and Java testing frameworks. The results of an initial study indicate that students find Sojourner under Sabotage enjoyable and educationally valuable, with measurable improvements in test coverage, debugging performance, and motivation compared to traditional methods. These findings reinforce the potential of serious games to complement software engineering education and foster essential software testing skills. 2. Background Software testing is often included in general programming courses rather than taught separately, although it has been argued to integrate it early in curricula ( Garousi et al. 2020a ) . However, students often perceive it as tedious and redundant, posing challenges for educators ( Garousi et al. 2020a ; Straubinger and Fraser 2023 ) . Motivation is crucial, as professional testers thrive on curiosity and creativity ( de Souza Santos et al. 2017 ) . Similarly, debugging is essential but often receives little instructional focus ( McCauley et al. 2008 ; Michaeli and Romeike 2019 ) . Effective debugging requires domain knowledge and experience, yet novices struggle due to misconceptions, leading to errors ( Li et al. 2019 ; Pea 1986 ; Bonar and Soloway 1985 ) . Gamification can improve engagement in testing education ( Deterding et al. 2011 ; Cooper 2023 ) , but poor design may cause frustration ( Toda et al. 2017 ; Kappen and Nacke 2013 ) . Serious games offer immersive, goal-driven experiences to enhance learning ( Connolly et al. 2012 ; Cooper 2023 ) thus addressing this concern. Still, they require significant resources and supplement rather than replace traditional education ( Yamoul et al. 2023 ) . Several serious games focussing on software testing and debugging have been proposed. For example, the Testing Game ( Valle et al. 2017 ) teaches functional, structural, and defect-based testing but lacks hands-on test writing. In contrast, Code Defenders ( Clegg et al. 2017 ; Fraser et al. 2019 ) engages students in writing JUnit tests and creating mutations but has usability concerns. Code Critters ( Straubinger et al. 2023 ; Straubinger et al. 2024 ) , aimed at younger learners, simplifies testing concepts with block-based programming. Unlike these, Sojourner under Sabotage targets undergraduate students, offering practical experience with real-world testing frameworks. For debugging, Gidget ( Lee 2014 ) teaches programming by having players fix buggy code through structured tasks. RoboBUG ( Miljanovic and Bradbury 2017 ) guides students in debugging C++ code using techniques like print statements and code tracing. While Sojourner under Sabotage does not teach programming, it incorporates story-driven tasks and structured debugging challenges inspired by these games, though it currently lacks features like step-by-step execution. 3. Sojourner under Sabotage Sojourner under Sabotage is an educational game where players take on the role of spaceship crew members who are unexpectedly awakened due to a cryogenic pod failure. Assisted by a robot companion, they must secure the ship by detecting and repairing sabotaged systems through unit testing. When a component fails, an alarm sounds, signaling the need for debugging. The game consists of seven levels, each requiring players to restore a different subsystem. Through navigation, object interactions, and robot assistance, players are guided through progressively complex challenges. 3.1. Gameplay Figure 1 . Sojourner under Sabotage during an interaction between the player and the accompanying robot, which is reporting a sabotaged component Figure 2 . Code editor integrated into the game for writing tests (shown in picture), but also for debugging and fixing Figure 3 . Code editor of Sojourner under Sabotage after writing tests Figure 4 . Code editor of Sojourner under Sabotage while debugging The game begins with the player regaining consciousness in the spaceship environment shown in Fig. 1 , devoid of any memory of past events. The robot introduces itself and explains the situation, explaining the need to identify issues using unit testing. The first task involves locating the console, opening the onboard editor, and writing test cases ( Fig. 2 ). Each level starts with the robot introducing a new room and its malfunctioning component. The player interacts with the component to access the code editor, where the testing process begins. Upon accessing the editor ( Fig. 2 ), a tutorial explains its dual-panel layout: the left panel displays the component’s source code, which must be tested and debugged if sabotage occurs, while the right panel is reserved for writing unit tests. Above the editor, buttons for executing tests, activating tests, and exiting the editor are available. Running tests provides immediate feedback in a console, indicating errors or successful executions. To advance, players must achieve at least 50% line coverage before activating tests, allowing them to monitor for future sabotage automatically. Visual feedback reinforces the importance of test coverage, with successfully tested lines highlighted in green to indicate effective validation. Once tests are active, they continue running in the background until sabotage modifies the component’s code. If an issue is detected, an alarm sounds, and the robot alerts the player ( Fig. 1 ). If sabotage goes undetected, the affected component sustains damage, prompting the robot to generate a guiding test case to assist in diagnosis. These supportive test cases help maintain engagement and prevent frustration, ensuring players remain focused on learning. At this