IntelliGame, originally designed for Java development, was integrated into JavaScript unit testing using the Jest framework. The study involved 152 participants in a controlled experiment to assess the impact of gamification on testing behavior. Results showed that participants using IntelliGame exhibited commendable testing behavior by writing more tests, achieving higher code coverage and mutation scores, running tests more frequently, and implementing functionality earlier compared to the control group.
The study aimed to replicate promising results achieved with IntelliGame for Java environments in a different context with a focus on JavaScript. Challenges were faced during the adaptation process, including transitioning from IntelliJ Community Edition to Ultimate for JavaScript support and addressing differences in coverage information. Despite challenges, 19 out of 26 achievements were successfully ported from Java to JavaScript.
Participant selection involved graduate students with prior experience in JavaScript testing using the Jest framework. The experiment task included implementing functions from an open-source project within a limited timeframe. Survey responses indicated positive perceptions of the target class but highlighted challenges related to time constraints for implementation and thorough testing.
The study revealed mixed perceptions regarding IntelliGame's impact on testing behavior and motivation among participants. Challenges encountered during the experiment included issues with project configuration and participant engagement. Lessons learned included the need for tasks calibration based on participant experience levels and potential improvements through gamification elements promoting Test-Driven Development (TDD).
Overall, the study provides valuable insights into integrating gamification into JavaScript unit testing methodologies through IntelliGame.
In eine andere Sprache
aus dem Quellinhalt
arxiv.org
Wichtige Erkenntnisse aus
by Philipp Stra... um arxiv.org 03-07-2024
https://arxiv.org/pdf/2403.03565.pdfTiefere Fragen