Software testing is a crucial and resource-intensive phase in the software development life cycle, where test data generation (TDG) remains a major bottleneck. While automated tools exist, human intuition is still valuable for resolving complex logic. To optimize this tedious task, we propose a 3D Game with a Purpose (GWAP) that crowdsources TDG. Unlike prior studies, our 3D environment maps program execution paths to interactive spatial puzzles and visually represents complex data structures, such as arrays and records, through customizable character attributes. This specific visual mapping enhances player interaction and addresses previous structural limitations. We evaluated the proposed approach using standard benchmark programs. Quantitative results demonstrate that players achieved 100% coverage across all 279 feasible execution paths—out of 511 total analyzed paths, 232 of which were infeasible—in an average of 29 minutes, whereas the baseline game failed to generate puzzles for 30.5% of these feasible paths (85 of 279) due to structural limitations. Furthermore, user evaluations show engagement among players with varying levels of expertise. The results confirm that the proposed 3D GWAP successfully handles complex input parameters while transforming a technical testing task into an effective, user-friendly environment.
Salami, N. & Haghighi, H. (2026). Test Data Generation Using a Game with a Purpose. Journal of Innovations in Computer Science and Engineering (JICSE), 3(2), 92–102. https://doi.org/10.48308/jicse.2026.245046.1102
MLA
Salami, N., & Haghighi, H. "Test Data Generation Using a Game with a Purpose", Journal of Innovations in Computer Science and Engineering (JICSE), 3, 2, 2026, 92–102. doi: 10.48308/jicse.2026.245046.1102
HARVARD
Salami, N., & Haghighi, H. (2026). 'Test Data Generation Using a Game with a Purpose', Journal of Innovations in Computer Science and Engineering (JICSE), 3(2), pp. 92–102. doi: 10.48308/jicse.2026.245046.1102
CHICAGO
Salami, N. & Haghighi, H., "Test Data Generation Using a Game with a Purpose." Journal of Innovations in Computer Science and Engineering (JICSE), 3 2 (2026): 92–102, doi: 10.48308/jicse.2026.245046.1102
VANCOUVER
Salami N., Haghighi H. Test Data Generation Using a Game with a Purpose. JICSE. 2026;3(2):92–102. doi: 10.48308/jicse.2026.245046.1102