arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2401.17740cs.SE
收藏

基于持续集成的软件测试课程游戏化设计

Gamifying a Software Testing Course with Continuous Integration

Philipp Straubinger, Gordon Fraser

AI总结:

针对软件工程专业学生测试积极性不足的问题,将游戏化工具Gamekins集成到本科软件测试课程的持续集成环节,有效提升了学生测试结果准确率与参与度。

摘要:

测试在软件开发中至关重要,软件工程专业学生接受规范的测试教育十分必要。然而,激发学生在软件开发过程中编写测试并使用自动化测试的积极性颇具挑战。为解决这一问题,提升学生编写代码时的测试参与度,我们提出通过对持续集成进行游戏化设计,激励学生开展更多测试工作。为此我们使用Gamekins(一款与Jenkins持续集成平台无缝集成的工具),它基于代码仓库的提交记录融入游戏元素:开发者可通过完成Gamekins生成的测试挑战和任务获取积分,在排行榜上与其他开发者或团队竞争,还能因测试相关的成就获得荣誉徽章。本文介绍了将Gamekins集成到本科软件测试课程的实践过程。我们观察到,学生的代码测试行为与他们对Gamekins的使用情况存在相关性;与未采用游戏化设计的往届课程相比,学生的测试结果准确率有显著提升。作为该方法改善测试行为的另一项佐证,学生反馈表示使用Gamekins编写测试很有乐趣。

英文摘要:

Testing plays a crucial role in software development, and it is essential for software engineering students to receive proper testing education. However, motivating students to write tests and use automated testing during software development can be challenging. To address this issue and enhance student engagement in testing when they write code, we propose to incentivize students to test more by gamifying continuous integration. For this we use Gamekins, a tool that is seamlessly integrated into the Jenkins continuous integration platform and uses game elements based on commits to the source code repository: Developers can earn points by completing test challenges and quests generated by Gamekins, compete with other developers or teams on a leaderboard, and receive achievements for their test-related accomplishments. In this paper, we present our integration of Gamekins into an undergraduate-level course on software testing. We observe a correlation between how students test their code and their use of Gamekins, as well as a significant improvement in the accuracy of their results compared to a previous iteration of the course without gamification. As a further indicator of how this approach improves testing behavior, the students reported enjoyment in writing tests with Gamekins.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑