Does test-driven development improve the program code? Alarming results from a comparative case study

被引:0
|
作者
Siniaalto, Maria [1 ]
Abrahamsson, Pekka [2 ]
机构
[1] F Secure Oyj, Elektroniikkatie 3, FIN-90570 Oulu, Finland
[2] VTT Tech Res Ctr Finland, FIN-90571 Oulu, Finland
关键词
test-driven development; test-first programming; test-first development; agile software development; software quality;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
It is suggested that test-driven development (TDD) is one of the most fundamental practices in agile software development, which produces loosely Coupled and highly cohesive code. However, how the TDD impacts on the structure of the program code have not been widely studied. This paper presents the results from a comparative case study of five small scale software development projects where the effect of TDD on program design was studied using both traditional and package level metrics. The empirical results reveal that art unwanted side effect can be that some parts of the code may deteriorate. In addition, the differences in the program code, between TDD and the iterative test-last development, were not as clear as expected. This raises the question as to whether the possible benefits of TDD are greater than the possible downsides. Moreover, it additionally questions whether the same benefits could be achieved just by emphasizing unit-level testing activities.
引用
收藏
页码:143 / +
页数:3
相关论文
共 50 条
  • [1] The effect of test-driven development on program code
    Mueller, Matthias M.
    EXTREME PROGRAMMING AND AGILE PROCESSES IN SOFTWARE ENGINEERING, PROCEEDINGS, 2006, 4044 : 94 - 103
  • [2] Does test-driven development really improve software design quality?
    Janzen, David S.
    Saiedian, Hossein
    IEEE SOFTWARE, 2008, 25 (02) : 77 - 84
  • [3] Does test-driven development improve class design? A qualitative study on developers’ perceptions
    Aniche, Maurício
    Gerosa, Marco Aurélio
    Journal of the Brazilian Computer Society, 2015, 21 (01)
  • [4] Evaluation of test-driven development - An industrial case study
    Wastnus, Hans
    Gross, Hans-Gerhard
    ENASE 2007: PROCEEDINGS OF THE SECOND INTERNATIONAL CONFERENCE ON EVALUATION OF NOVEL APPROACHES TO SOFTWARE ENGINEERING, 2007, : 103 - +
  • [5] The effectiveness of test-driven development: an industrial case study
    Tomaž Dogša
    David Batič
    Software Quality Journal, 2011, 19 : 643 - 661
  • [6] Test-Driven Code Review: An Empirical Study
    Spadini, Davide
    Palomba, Fabio
    Baum, Tobias
    Hanenberg, Stefan
    Bruntink, Magiel
    Bacchelli, Alberto
    2019 IEEE/ACM 41ST INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2019), 2019, : 1061 - 1072
  • [7] The effectiveness of test-driven development: an industrial case study
    Dogsa, Tomaz
    Batic, David
    SOFTWARE QUALITY JOURNAL, 2011, 19 (04) : 643 - 661
  • [8] Test-Driven Development in HPC Science: A Case Study
    Nanthaamornphong, Aziz
    Carver, Jeffrey C.
    COMPUTING IN SCIENCE & ENGINEERING, 2018, 20 (05) : 98 - 113
  • [9] Evaluation of Test-Driven Development: An Academic Case Study
    Xu, Shaochun
    Li, Tong
    SOFTWARE ENGINEERING RESEARCH, MANAGEMENT AND APPLICATIONS 2009, 2009, 253 : 229 - +
  • [10] Effectiveness of Test-Driven Development and Continuous Integration A Case Study
    Amrit, Chintan
    Meijberg, Yoni
    IT PROFESSIONAL, 2018, 20 (01) : 27 - 35