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 条
  • [31] Improving business agility through technical solutions:: A case study on test-driven development in mobile software development
    Abrahamsson, P
    Hanhineva, A
    Jäälinoja, J
    BUSINESS AGILITY AND INFORMATION TECHNOLOGY DIFFUSION, 2005, 180 : 227 - 243
  • [32] Test-Driven Anonymization in Health Data: A Case Study on Assistive Reproduction
    Augusto, Cristian
    Angel Olivero, Miguel
    Moran, Jesus
    Morales, Leticia
    de la Riva, Claudio
    Aroba, Javier
    Tuya, Javier
    2020 IEEE INTERNATIONAL CONFERENCE ON ARTIFICIAL INTELLIGENCE TESTING (AITEST), 2020, : 81 - 82
  • [33] Results from a Replicated Experiment on the Affective Reactions of Novice Developers When Applying Test-Driven Development
    Romano, Simone
    Scanniello, Giuseppe
    Baldassarre, Maria Teresa
    Fucci, Davide
    Caivano, Danilo
    AGILE PROCESSES IN SOFTWARE ENGINEERING AND EXTREME PROGRAMMING (XP 2020), 2020, 383 : 223 - 239
  • [34] Towards an operationalization of test-driven development skills: An industrial empirical study
    Fucci, Davide
    Turhan, Burak
    Juristo, Natalia
    Dieste, Oscar
    Tosun-Misirli, Ayse
    Oivo, Markku
    INFORMATION AND SOFTWARE TECHNOLOGY, 2015, 68 : 82 - 97
  • [35] A Dissection of the Test-Driven Development Process: Does It Really Matter to Test-First or to Test-Last?
    Fucci, Davide
    Erdogmus, Hakan
    Turhan, Burak
    Oivo, Markku
    Juristo, Natalia
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2017, 43 (07) : 597 - 614
  • [36] THE EMPIRICAL STUDY: ENCOURAGING STUDENTS' INTEREST IN SOFTWARE DEVELOPMENT USING TEST-DRIVEN DEVELOPMENT
    Nanthaamornphong, Aziz
    Bressan, Stephane
    TEHNICKI GLASNIK-TECHNICAL JOURNAL, 2019, 13 (04): : 267 - 274
  • [37] Model-Driven Development: Where Does the Code Come From? Insights Learned From a Case Study
    Fu, Jicheng
    Hao, Wei
    Bastani, Farokh B.
    Yen, I-Ling
    FIFTH IEEE INTERNATIONAL CONFERENCE ON SEMANTIC COMPUTING (ICSC 2011), 2011, : 255 - 262
  • [38] LLM-Based Test-Driven Interactive Code Generation: User Study and Empirical Evaluation
    Fakhoury, Sarah
    Naik, Aaditya
    Sakkas, Georgios
    Chakraborty, Saikat
    Lahiri, Shuvendu K.
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2024, 50 (09) : 2254 - 2268
  • [39] On moving test-driven development from the business world into a biomedical engineering environment
    Qiao, Juan
    Smith, Michael
    Miller, James
    2007 CANADIAN CONFERENCE ON ELECTRICAL AND COMPUTER ENGINEERING, VOLS 1-3, 2007, : 1554 - 1557
  • [40] An Error Code Highlighting Function in Java']Java Programming Learning Assistant System Using Test-Driven Development Method
    Funabiki, Nobuo
    Fukuyama, Yuuki
    Matsushima, Yukiko
    Nakanishi, Toru
    Watanabe, Kan
    WORLD CONGRESS ON ENGINEERING AND COMPUTER SCIENCE, WCECS 2012, VOL I, 2012, : 230 - 235