CODE DEFENDERS: A Mutation Testing Game

被引:38
|
作者
Rojas, Jose Miguel [1 ]
Fraser, Gordon [1 ]
机构
[1] Univ Sheffield, Dept Comp Sci, Sheffield, S Yorkshire, England
基金
英国工程与自然科学研究理事会;
关键词
D O I
10.1109/ICSTW.2016.43
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Mutation testing is endorsed by software testing researchers for its unique capability of providing pragmatic estimates of a test suite's fault detection capability, and for guiding testers in improving their test suites. In practice, however, widespread adoption of mutation testing is hampered because any non-trivial program results in huge numbers of mutants, many of which are either trivial or equivalent, and thus useless. Trivial mutants reduce the motivation of developers in trusting and using the technique, while equivalent mutants are frustratingly difficult to handle. These problems are exacerbated by insufficient education on testing, which often means that mutation testing is not well understood in practice. These are examples of the types of problems that gamification aims to overcome by making such tedious activities competitive and entertaining. In this paper, we introduce the first steps towards building CODE DEFENDERS, a mutation testing game where players take the role of an attacker, who aims to create the most subtle non-equivalent mutants, or a defender, who aims to create strong tests to kill these mutants. The benefits of such an approach are manifold: The game can serve an educational role by engaging learners in mutation testing activities in a fun way. Experienced players will produce strong test suites, capable of detecting even the most subtle bugs that other players can conceive. Equivalent mutants are handled by making them a special part of the gameplay, where points are at stake in duels between attackers and defenders.
引用
收藏
页码:162 / 167
页数:6
相关论文
共 50 条
  • [1] Code Defenders: Crowdsourcing Effective Tests and Subtle Mutants with a Mutation Testing Game
    Rojas, Jose Miguel
    White, Thomas D.
    Clegg, Benjamin S.
    Fraser, Gordon
    [J]. 2017 IEEE/ACM 39TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2017, : 677 - 688
  • [2] Teaching Software Testing with the Code Defenders Testing Game: Experiences and Improvements
    Fraser, Gordon
    Gambi, Alessio
    Rojas, Jose Miguel
    [J]. 2020 IEEE 13TH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW), 2020, : 461 - 464
  • [3] Teaching Software Testing with the Code Defenders Testing Game: Experiences and Improvements
    Fraser, Gordon
    Gambi, Alessio
    Rojas, Jose Miguel
    [J]. Proceedings - 2020 IEEE 13th International Conference on Software Testing, Verification and Validation Workshops, ICSTW 2020, 2020, : 461 - 464
  • [4] A Preliminary Report on Gamifying a Software Testing Course with the Code Defenders Testing Game
    Fraser, Gordon
    Gambi, Alessio
    Rojas, Jose Miguel
    [J]. PROCEEDINGS OF THE 3RD EUROPEAN CONFERENCE OF SOFTWARE ENGINEERING EDUCATION (ECSEE), 2018, : 50 - 54
  • [5] Gamifying a Software Testing Course with Code Defenders
    Fraser, Gordon
    Gambi, Alessio
    Kreis, Marvin
    Rojas, Jose Miguel
    [J]. SIGCSE '19: PROCEEDINGS OF THE 50TH ACM TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION, 2019, : 571 - 577
  • [6] Test code evolution and mutation testing
    Le Traon, Yves
    Xie, Tao
    [J]. SOFTWARE TESTING VERIFICATION & RELIABILITY, 2024, 34 (03):
  • [7] Efficient mutation testing of multithreaded code
    Gligoric, Milos
    Jagannath, Vilas
    Luo, Qingzhou
    Marinov, Darko
    [J]. SOFTWARE TESTING VERIFICATION & RELIABILITY, 2013, 23 (05): : 375 - 403
  • [8] Code Critters: A Block -Based Testing Game
    Straubinger, Philipp
    Caspari, Laura
    Fraser, Gordon
    [J]. 2023 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS, ICSTW, 2023, : 426 - 429
  • [9] Teaching Software Testing Concepts Using a Mutation Testing Game
    Clegg, Benjamin S.
    Rojas, Jose Miguel
    Fraser, Gordon
    [J]. 2017 IEEE/ACM 39TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: SOFTWARE ENGINEERING EDUCATION AND TRAINING TRACK (ICSE-SEET 2017), 2017, : 33 - 36
  • [10] The Target Differential Game with Two Defenders
    David W. Casbeer
    Eloy Garcia
    Meir Pachter
    [J]. Journal of Intelligent & Robotic Systems, 2018, 89 : 87 - 106