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 条
  • [41] Results from an Ethnographically-informed Study in the Context of Test Driven Development
    Romano, Simone
    Fucci, Davide
    Scanniello, Giuseppe
    Turhan, Burak
    Jurist, Natalia
    PROCEEDINGS OF THE 20TH INTERNATIONAL CONFERENCE ON EVALUATION AND ASSESSMENT IN SOFTWARE ENGINEERING 2016 (EASE '16), 2016,
  • [42] Model driven development and code generation: An automotive case study
    Banci, Michele
    Fantechi, Alessandro
    Gnesi, Stefania
    Lombardi, Giovanni
    SDL 2007: DESIGN FOR DEPENDABLE SYSTEMS, PROCEEDINGS, 2007, 4745 : 19 - 34
  • [43] Automated recognition of low-level process: A pilot validation study of Zorro for test-driven development
    Kou, Hongbing
    Johnson, Philip M.
    SOFTWARE PROCESS CHANGE, 2006, 3966 : 322 - 333
  • [44] How Good are Code Smells for Evaluating Software Maintainability? - Results from a Comparative Case Study
    Yamashita, Aiko
    2013 29TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE (ICSM), 2013, : 566 - 571
  • [45] Understanding Low-Code or No-Code Adoption in Software Startups: Preliminary Results from a Comparative Case Study
    Rafiq, Usman
    Filippo, Cenacchi
    Wang, Xiaofeng
    PRODUCT-FOCUSED SOFTWARE PROCESS IMPROVEMENT, PROFES 2022, 2022, 13709 : 390 - 398
  • [46] Code development for the design study of the OMEGA Program accelerator-driven transmutation systems
    Sasa, T
    Tsujimoto, K
    Takizuka, T
    Takano, H
    NUCLEAR INSTRUMENTS & METHODS IN PHYSICS RESEARCH SECTION A-ACCELERATORS SPECTROMETERS DETECTORS AND ASSOCIATED EQUIPMENT, 2001, 463 (03): : 495 - 504
  • [47] Is test-driven external accountability effective? Synthesizing the evidence from cross-state causal-comparative and correlational studies
    Lee, Jaekyung
    REVIEW OF EDUCATIONAL RESEARCH, 2008, 78 (03) : 608 - 644
  • [48] Test-driven simulation modelling: A case study using agent-based maritime search-operation simulation
    Onggo, Bhakti Stephan
    Karatas, Mumtaz
    EUROPEAN JOURNAL OF OPERATIONAL RESEARCH, 2016, 254 (02) : 517 - 531
  • [49] Using evidence to improve and scale up development program in education: A case study from India
    Maruyama, Takao
    WORLD DEVELOPMENT PERSPECTIVES, 2023, 32
  • [50] BENEFITS OF COMMUNITY-DRIVEN DEVELOPMENT PROGRAM TO IMPROVE LIVELIHOOD: CASE STUDY OF DANA DESA (VILLAGE FUNDS) IN INDONESIA
    Hidayah, Isnawati
    Mukhlis, Imam
    Yarmawati, Denny
    PROCEEDINGS OF THE 12TH ECONOMICS & FINANCE CONFERENCE, 2019, : 115 - 127