Code Defenders: Crowdsourcing Effective Tests and Subtle Mutants with a Mutation Testing Game. Rojas, J. M., White, T., Clegg, B., & Fraser, G. In Int. Conference on Software Engineering (ICSE), pages 677–688, 2017. \textbfACM Distinguished Paper Awarddoi abstract bibtex Writing good software tests is difficult and not every developer's favorite occupation. Mutation testing aims to help by seeding artificial faults (mutants) that good tests should identify, and test generation tools help by providing automatically generated tests. However, mutation tools tend to produce huge numbers of mutants, many of which are trivial, redundant, or semantically equivalent to the original program; automated test generation tools tend to produce tests that achieve good code coverage, but are otherwise weak and have no clear purpose. In this paper, we present an approach based on gamification and crowdsourcing to produce better software tests and mutants: The Code Defenders web-based game lets teams of players compete over a program, where attackers try to create subtle mutants, which the defenders try to counter by writing strong tests. Experiments in controlled and crowdsourced scenarios reveal that writing tests as part of the game is more enjoyable, and that playing Code Defenders results in stronger test suites and mutants than those produced by automated tools.
@inproceedings{ICSE2017_CodeDefenders,
author = {Jos\'e Miguel Rojas and Thomas White and Benjamin
Clegg and Gordon Fraser},
title = {{C}ode {D}efenders: Crowdsourcing Effective Tests and
Subtle Mutants with a Mutation Testing Game},
booktitle = ICSE,
year = {2017},
doi = {10.1109/ICSE.2017.68},
pages = {677--688},
note = "\textbf{ACM Distinguished Paper Award}",
labels = {conf},
abstract = {Writing good software tests is difficult and not every
developer's favorite occupation. Mutation testing aims
to help by seeding artificial faults (mutants) that
good tests should identify, and test generation tools
help by providing automatically generated
tests. However, mutation tools tend to produce huge
numbers of mutants, many of which are trivial,
redundant, or semantically equivalent to the original
program; automated test generation tools tend to
produce tests that achieve good code coverage, but are
otherwise weak and have no clear purpose. In this
paper, we present an approach based on gamification and
crowdsourcing to produce better software tests and
mutants: The {{Code Defenders}} web-based game lets
teams of players compete over a program, where
attackers try to create subtle mutants, which the
defenders try to counter by writing strong
tests. Experiments in controlled and crowdsourced
scenarios reveal that writing tests as part of the game
is more enjoyable, and that playing {{Code Defenders}}
results in stronger test suites and mutants than those
produced by automated tools.}
}
%% 2016
Downloads: 0
{"_id":"NLdSGcioR2SzRsEJW","bibbaseid":"rojas-white-clegg-fraser-codedefenderscrowdsourcingeffectivetestsandsubtlemutantswithamutationtestinggame-2017","author_short":["Rojas, J. M.","White, T.","Clegg, B.","Fraser, G."],"bibdata":{"bibtype":"inproceedings","type":"inproceedings","author":[{"firstnames":["José","Miguel"],"propositions":[],"lastnames":["Rojas"],"suffixes":[]},{"firstnames":["Thomas"],"propositions":[],"lastnames":["White"],"suffixes":[]},{"firstnames":["Benjamin"],"propositions":[],"lastnames":["Clegg"],"suffixes":[]},{"firstnames":["Gordon"],"propositions":[],"lastnames":["Fraser"],"suffixes":[]}],"title":"Code Defenders: Crowdsourcing Effective Tests and Subtle Mutants with a Mutation Testing Game","booktitle":"Int. Conference on Software Engineering (ICSE)","year":"2017","doi":"10.1109/ICSE.2017.68","pages":"677–688","note":"\\textbfACM Distinguished Paper Award","labels":"conf","abstract":"Writing good software tests is difficult and not every developer's favorite occupation. Mutation testing aims to help by seeding artificial faults (mutants) that good tests should identify, and test generation tools help by providing automatically generated tests. However, mutation tools tend to produce huge numbers of mutants, many of which are trivial, redundant, or semantically equivalent to the original program; automated test generation tools tend to produce tests that achieve good code coverage, but are otherwise weak and have no clear purpose. In this paper, we present an approach based on gamification and crowdsourcing to produce better software tests and mutants: The Code Defenders web-based game lets teams of players compete over a program, where attackers try to create subtle mutants, which the defenders try to counter by writing strong tests. Experiments in controlled and crowdsourced scenarios reveal that writing tests as part of the game is more enjoyable, and that playing Code Defenders results in stronger test suites and mutants than those produced by automated tools.","bibtex":"@inproceedings{ICSE2017_CodeDefenders,\n author = {Jos\\'e Miguel Rojas and Thomas White and Benjamin\n Clegg and Gordon Fraser},\n title\t = {{C}ode {D}efenders: Crowdsourcing Effective Tests and\n Subtle Mutants with a Mutation Testing Game},\n booktitle = ICSE,\n year\t = {2017},\n doi\t = {10.1109/ICSE.2017.68},\n pages\t = {677--688},\n note\t = \"\\textbf{ACM Distinguished Paper Award}\",\n labels = {conf},\n abstract = {Writing good software tests is difficult and not every\n developer's favorite occupation. Mutation testing aims\n to help by seeding artificial faults (mutants) that\n good tests should identify, and test generation tools\n help by providing automatically generated\n tests. However, mutation tools tend to produce huge\n numbers of mutants, many of which are trivial,\n redundant, or semantically equivalent to the original\n program; automated test generation tools tend to\n produce tests that achieve good code coverage, but are\n otherwise weak and have no clear purpose. In this\n paper, we present an approach based on gamification and\n crowdsourcing to produce better software tests and\n mutants: The {{Code Defenders}} web-based game lets\n teams of players compete over a program, where\n attackers try to create subtle mutants, which the\n defenders try to counter by writing strong\n tests. Experiments in controlled and crowdsourced\n scenarios reveal that writing tests as part of the game\n is more enjoyable, and that playing {{Code Defenders}}\n results in stronger test suites and mutants than those\n produced by automated tools.}\n}\n\n%% 2016\n","author_short":["Rojas, J. M.","White, T.","Clegg, B.","Fraser, G."],"key":"ICSE2017_CodeDefenders","id":"ICSE2017_CodeDefenders","bibbaseid":"rojas-white-clegg-fraser-codedefenderscrowdsourcingeffectivetestsandsubtlemutantswithamutationtestinggame-2017","role":"author","urls":{},"metadata":{"authorlinks":{}},"html":""},"bibtype":"inproceedings","biburl":"https://jmrojas.github.io/cv/mybibtex.bib","dataSources":["EJbQZ5DryKAnqjJXj","HH2ZMm8PqShQeXCWM"],"keywords":[],"search_terms":["code","defenders","crowdsourcing","effective","tests","subtle","mutants","mutation","testing","game","rojas","white","clegg","fraser"],"title":"Code Defenders: Crowdsourcing Effective Tests and Subtle Mutants with a Mutation Testing Game","year":2017}