A Longitudinal Cohort Study on the Retainment of Test-Driven Development

被引:9
|
作者
Fucci, Davide [1 ]
Romano, Simone [2 ]
Baldassarre, Maria Teresa [3 ]
Caivano, Danilo [3 ]
Scanniello, Giuseppe [2 ]
Turhan, Burak [4 ]
Juristo, Natalia [5 ]
机构
[1] Univ Hamburg, Hamburg, Germany
[2] Univ Basilicata, Potenza, Italy
[3] Univ Bari, Bari, Italy
[4] Monash Univ, Melbourne, Vic, Australia
[5] Univ Politecn Madrid, Madrid, Spain
基金
芬兰科学院;
关键词
Test-driven development; longitudinal cohort study; EXPERIENCE; QUALITY;
D O I
10.1145/3239235.3240502
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Background: Test-Driven Development (TDD) is an agile software development practice, which is claimed to boost both external quality of software products and developers' productivity. Aims: We want to study: (i) the TDD effects on the external quality of software products as well as the developers' productivity; and (ii) the retainment of TDD over a period of five months. Method: We conducted a (quantitative) longitudinal cohort study with 30 third-year undergraduate students in Computer Science at the University of Bari in Italy. Results: The use of TDD has a statistically significant effect neither on the external quality of software products nor on the developers' productivity. However, we observed that participants using TDD produced significantly more tests than those applying a non-TDD development process, and that the retainment of TDD is particularly noticeable in the amount of tests written. Conclusions: Our results should encourage software companies to adopt TDD because who practices TDD tends to write more tests-having more tests can come in handy when testing software systems or localizing faults-and it seems that novice developers retain TDD.
引用
收藏
页数:10
相关论文
共 50 条
  • [31] Test-Driven Development for Spreadsheet Risk Management
    McDaid, Kevin
    Rust, Alan
    IEEE SOFTWARE, 2009, 26 (05) : 31 - 36
  • [32] The effect of experience on the test-driven development process
    Matthias M. Müller
    Andreas Höfer
    Empirical Software Engineering, 2007, 12 : 593 - 615
  • [33] Formal Test-Driven Development with Verified Test Cases
    Aichernig, Bernhard K.
    Lorber, Florian
    Tiran, Stefan
    PROCEEDINGS OF THE 2014 2ND INTERNATIONAL CONFERENCE ON MODEL-DRIVEN ENGINEERING AND SOFTWARE DEVELOPMENT (MODELSWARD 2014), 2014, : 626 - 635
  • [34] A leveled examination of test-driven development acceptance
    Janzen, David S.
    Saiedian, Hossein
    ICSE 2007: 29TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, PROCEEDINGS, 2007, : 719 - 722
  • [35] Designing a Framework with Test-Driven Development: A Journey
    Guerra, Eduardo
    IEEE SOFTWARE, 2014, 31 (01) : 9 - 14
  • [36] Automated recognition of test-driven development with Zorro
    Johnson, Philip M.
    Kou, Hongbing
    AGILE 2007, PROCEEDINGS, 2007, : 15 - +
  • [37] Test-driven database development: A practical guide
    Rong, O
    EXTREME PROGRAMMING AND AGILE METHODS - XP/AGILE UNIVERSE 2003, 2003, 2753 : 82 - 90
  • [38] Incorporating performance testing in test-driven development
    Johnson, Michael J.
    Maximilien, E. Michael
    Ho, Chih-Wei
    Williams, Laurie
    IEEE SOFTWARE, 2007, 24 (03) : 67 - +
  • [39] Learning test-driven development by counting lines
    Vodde, Bas
    Koskela, Lasse
    IEEE SOFTWARE, 2007, 24 (03) : 74 - +
  • [40] Test-Driven Development in scientific software: a survey
    Nanthaamornphong, Aziz
    Carver, Jeffrey C.
    SOFTWARE QUALITY JOURNAL, 2017, 25 (02) : 343 - 372