This paper investigates the integration and assessment of IntelliGame, a gamification plugin initially designed for Java development, within the realm of JavaScript unit testing. We aim to verify the generalizability of IntelliGame to JavaScript development and to provide valuable insights into the experiment's design. For this, we first customize IntelliGame for JavaScript, and then conduct a controlled experiment involving 152 participants utilizing the Jest testing framework, and finally examine its influence on testing behavior and the overall developer experience. The findings from this study provide valuable insights for improving JavaScript testing methodologies through the incorporation of gamification.
翻译:本文研究了IntelliGame(一款最初为Java开发设计的游戏化插件)在JavaScript单元测试领域的集成与评估。我们旨在验证IntelliGame对JavaScript开发的通用性,并为实验设计提供有价值的见解。为此,我们首先针对JavaScript环境定制了IntelliGame,随后开展了一项涉及152名参与者的控制实验,参与者均使用Jest测试框架,最后分析了该插件对测试行为及整体开发者体验的影响。本研究的结果为通过引入游戏化改进JavaScript测试方法提供了宝贵的参考。