Logo des Repositoriums
 
Konferenzbeitrag

Code Defenders

Vorschaubild

Volltext URI

Dokumententyp

Text/Conference Paper

Zusatzinformation

Datum

2018

Zeitschriftentitel

ISSN der Zeitschrift

Bandtitel

Verlag

Gesellschaft für Informatik

Zusammenfassung

This paper was presented at the 39th International Conference on Software Engineering (ICSE 2017), where it received an ACM SIGSOFT Distinguished Paper Award: 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.

Beschreibung

Rojas, José Miguel; White, Thomas D.; Clegg, Benjamin S.; Fraser, Gordon (2018): Code Defenders. Software Engineering und Software Management 2018. Bonn: Gesellschaft für Informatik. PISSN: 1617-5468. ISBN: 978-3-88579-673-2. pp. 77-78. Software Engineering 2018 - Wissenschaftliches Hauptprogramm. Ulm. 5.-9. März 2018

Zitierform

DOI

Tags