通过游戏化促使开发者参与探索性单元测试
Engaging Developers in Exploratory Unit Testing through Gamification
AI总结:
本文提出在 IDE 中使用 Gamekins 通过挑战和任务引导探索性单元测试,实验表明其可提升覆盖率、缺陷检测效果与开发者参与度。
摘要:
探索性测试以其灵活性以及发现意外问题的能力而著称,但在维持系统化覆盖和产生可复现结果方面常常面临挑战。为应对这些挑战,我们研究了直接在集成开发环境(IDE)中对测试进行游戏化是否能够引导探索性测试。因此,我们展示了由 Gamekins 游戏化系统生成的挑战和任务,使测试更具吸引力,并将其与常规编码任务无缝融合。在一项为期60分钟的实验中,我们评估了 Gamekins 对测试套件质量和缺陷检测的影响。结果表明,参与者积极与该工具交互,实现了近90%的行覆盖率,并检测出14个缺陷中的11个。此外,参与者表示享受这一体验,表明游戏化能够增强开发者对测试的参与并提升软件质量。
英文摘要:
Exploratory testing, known for its flexibility and ability to uncover unexpected issues, often faces challenges in maintaining systematic coverage and producing reproducible results. To address these challenges, we investigate whether gamification of testing directly in the Integrated Development Environment (IDE) can guide exploratory testing. We therefore show challenges and quests generated by the Gamekins gamification system to make testing more engaging and seamlessly blend it with regular coding tasks. In a 60-minute experiment, we evaluated Gamekins' impact on test suite quality and bug detection. The results show that participants actively interacted with the tool, achieving nearly 90% line coverage and detecting 11 out of 14 bugs. Additionally, participants reported enjoying the experience, indicating that gamification can enhance developer participation in testing and improve software quality.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。