* ICSE 2018 *
Sun 27 May - Sun 3 June 2018 Gothenburg, Sweden
Fri 1 Jun 2018 14:00 - 14:20 at Congress Hall - Testing IV Chair(s): Xiaoying Bai

Testing is an integral part of the software development lifecycle, approached with varying degrees of rigor by different process models. Agile process models recommend Test Driven Development (TDD) as a key practice for reducing costs and improving code quality. The objective of this work is to perform a cost-benefit analysis of this practice. To that end, we have conducted a comparative analysis of GitHub repositories that adopts TDD to a lesser or greater extent, in order to determine how TDD affects software development productivity and software quality. We classified GitHub repositories archived in 2015 in terms of how rigorously they practiced TDD, thus creating a TDD spectrum. We then matched and compared various subsets of these repositories on this TDD spectrum with control sets of equal size. The control sets were samples from all GitHub repositories that matched certain characteristics, and that contained at least one test file. We compared how the TDD sets differed from the control sets on the following characteristics: number of test files, average commit velocity, number of bug-referencing commits, number of issues recorded, usage of continuous integration, number of pull requests, and distribution of commits per author. We found that Java TDD projects were relatively rare. In addition, there were very few significant differences in any of the metrics we used to compare TDD-like and non-TDD projects; therefore, our results do not reveal any observable benefits from using TDD.

Fri 1 Jun

14:00 - 15:30: Technical Papers - Testing IV at Congress Hall
Chair(s): Xiaoying BaiTsinghua University
icse-2018-Journal-first-papers152785440000014:00 - 14:20
Neil Borle, Meysam Feghhi, Eleni StrouliaUniversity of Alberta, Russell Grenier, Abram HindleUniversity of Alberta
icse-2018-Journal-first-papers152785560000014:20 - 14:40
Link to publication DOI Pre-print
icse-2018-Journal-first-papers152785680000014:40 - 15:00
icse-2018-Journal-first-papers152785800000015:00 - 15:20
icse-2018-Technical-Papers152785920000015:20 - 15:30