一句话:提出一种在无图形环境下模拟用户交互并验证应用状态的 GUI 练习动态测试方法,并在大规模课程中验证其可扩展性。
在非图形环境中测试 GUI 应用颇具挑战,尤其对于大规模编程课程中的自动评分系统,传统方法通常依赖图形操作系统。本文提出一种无头测试方法,通过模拟用户交互并验证应用状态,使交互式应用无需图形子系统也能被可靠评估。作者实现了参考系统,并在大规模入门编程课程中实际部署,评估了 1,020 份提交。案例研究表明,该系统满足关键需求,能够提供可复现、可扩展且具有教学价值的反馈。
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.
DOI 原文 ·
@inproceedings{paperbot9507,
title = {Dynamic Testing of GUI Exercises in Headless Environments},
author = {Benjamin Schmitz},
booktitle = {ASE},
year = {2025},
doi = {10.1109/ase63991.2025.00393}
}