Idea · Aug 18, 2026
From Tournament to Transfer: Measuring Whether Adversarial Test-Writing in CS2 Builds Lasting TDD Habits
Extends a gamified adversarial testing tournament (Dungeon Master, SIGCSE 2026) with a controlled study measuring whether competitive test-writing changes the quality of students' tests, their mutation scores, and whether TDD habits persist post-course.
What it would do
Code, Test, Battle (SIGCSE TS 2026) introduced Dungeon Master, a semester-long system where CS2 students build hero characters whose capabilities mirror OOP concepts, and battle opponents using both algorithm correctness and adversarial unit tests. The preliminary study (N=25) showed high engagement and concept clarity but included no control group and no learning-outcome measurement. This research extends that system with a mixed-methods controlled study: one CS2 section uses adversarial tournaments while a matched section uses standard TDD instruction with the same programming tasks. Primary outcomes are mutation score (how many seeded bugs student tests catch), boundary-case coverage, test-suite size, and resubmission rate. A longitudinal component follows both cohorts into a subsequent software engineering course to measure whether tournament participants write better tests six months later, addressing the transfer question that gamification research rarely asks. The study requires no additional human subjects beyond standard course participation and can be conducted entirely on existing CS2 assignments with mutation-testing infrastructure (PIT for Java).