Improving Unit Testing Practices With the Use of Gamification

dc.contributor.authorArnarsson, Davíð
dc.contributor.authorJóhannesson, Ívar Húni
dc.contributor.departmentChalmers tekniska högskola / Institutionen för data- och informationsteknik (Chalmers)sv
dc.contributor.departmentChalmers University of Technology / Department of Computer Science and Engineering (Chalmers)en
dc.date.accessioned2019-07-03T13:46:03Z
dc.date.available2019-07-03T13:46:03Z
dc.date.issued2015
dc.description.abstractBackground Testing in software development is important. Unit testing is one technique developers use to catch potential bugs and combat regressions. However, unit testing is often considered to be an arduous task, and as such, developers might avoid unit testing their code. Gamification is a concept that has been defined as the use of game elements in a non-game context. The concept has been demonstrated to have a positive effect on unit testing in an experimental context but hasn’t been observed in industry until recently. Aim This study employs gamification as a means for motivating developers to write more and better unit tests. By analyzing both static and dynamic qualities of unit tests and feeding the results into our gamification tool, G-Unit, we aim to score developers based on their unit testing efforts. Method This study applies design science research, based on work by Wieringa. The study consisted of 3 iterations and each iteration consists of 5 phases of the regulative cycle. The data was collected by using surveys, interviews and by mining the artifact’s SQL database. Results No ethical issues arose during the study, the developers felt that the G-Unit tool motivated them to write more and better tests and were able to learn about important software testing metrics and concepts. The largest design problem was the continuous balancing of the gamification system while the largest technical challenge was the implementation of test smell detection. Contributions The study was a successful in its task of motivating the developers at the participating company to write more and better unit tests. Gamification had a positive effect on the developers work.
dc.identifier.urihttps://hdl.handle.net/20.500.12380/220555
dc.language.isoeng
dc.setspec.uppsokTechnology
dc.subjectInformations- och kommunikationsteknik
dc.subjectData- och informationsvetenskap
dc.subjectInformation & Communication Technology
dc.subjectComputer and Information Science
dc.titleImproving Unit Testing Practices With the Use of Gamification
dc.type.degreeExamensarbete för masterexamensv
dc.type.degreeMaster Thesisen
dc.type.uppsokH
local.programmeSoftware engineering and technology (MPSOF), MSc
Ladda ner
Original bundle
Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
220555.pdf
Storlek:
1.24 MB
Format:
Adobe Portable Document Format
Beskrivning:
Fulltext