Developers have to write thorough tests for their software in order to find bugs and to prevent regressions. Writing tests, however, is not every developer's favourite occupation, and if a lack of motivation leads to a lack of tests, then this may have dire consequences, such as programs with poor quality or even project failures. This paper introduces Gamekins, a tool that uses gamification to motivate developers to write more and better tests. Gamekins is integrated into the Jenkins continuous integration platform where game elements are based on commits to the source code repository: Developers can earn points for completing test challenges and quests posed by Gamekins, compete with other developers or developer teams on a leaderboard, and are rewarded for their test-related achievements.
翻译:开发者必须写出软件的彻底测试, 以便找到错误并防止回归。 但是, 写作测试并不是每个开发者最喜欢的职业, 如果缺乏动机导致测试的缺乏, 那么这可能会带来严重后果, 比如质量差的程序, 甚至项目失败。 本文介绍了 Gamekins, 这个工具使用拼写来激励开发者写更多更好的测试。 Gamekins 被整合到詹金斯 连续整合平台中, 该平台的游戏元素基于对源代码存储库的承诺: 开发者可以获取完成 Gamekins 提出的测试挑战和探索的分数, 与其他开发者或开发者团队在领先板上竞争, 并因其测试相关成就而获得奖赏 。