kirancodes.me
To Proof Maintenance & Beyond!

Dynamic Testing of GUI Exercises in Headless Environments

Benjamin Schmitz

Abstract

Testing Graphical User Interface applications in non-graphical environments is challenging, especially for auto-graders in large-scale programming courses, where traditional approaches often depend on a graphical operating system. This paper presents a headless testing approach that simulates user interactions and verifies application state. A reference implementation demonstrates that interactive applications can be assessed reliably in headless settings. The approach ran in a large-scale introductory programming course, assessing 1,020 submissions without a graphical subsystem. A case study confirms the system meets key requirements and delivers reproducible, scalable, and pedagogically valuable feedback.

BibTeX
@inproceedings{Schmitz:ASE25,
  author    = {Benjamin Schmitz},
  title     = {Dynamic Testing of {GUI} Exercises in Headless Environments},
  booktitle = {ASE},
  pages     = {4131--4133},
  publisher = {{IEEE}},
  year      = {2025},
}

Related papers