Operational definition and automated inference of test-driven development with Zorro

被引:18
作者
Kou, Hongbing [1 ]
Johnson, Philip M. [1 ]
Erdogmus, Hakan [2 ]
机构
[1] Univ Hawaii, Collaborat Software Dev Lab, Dept Informat & Comp Sci, Honolulu, HI 96822 USA
[2] Kalemun Res Inc, Ottawa, ON K1V 1R9, Canada
关键词
Test driven development; Hackystat; Process measurement;
D O I
10.1007/s10515-009-0058-8
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Test-driven development (TDD) is a style of development named for its most visible characteristic: the design and implementation of test cases prior to the implementation of the code required to make them pass. Many claims have been made for TDD: that it can improve implementation as well as design quality, that it can improve productivity, that it results in 100% coverage, and so forth. However, research to validate these claims has yielded mixed and sometimes contradictory results. We believe that at least part of the reason for these results stems from differing interpretations of the TDD development style, along with an inability to determine whether programmers actually follow whatever definition of TDD is in use. Zorro is a system designed to automatically determine whether a developer is complying with an operational definition of Test-Driven Development (TDD) practices. Automated recognition of TDD can benefit the software development community in a variety of ways, from inquiry into the "true nature" of TDD, to pedagogical aids to support the practice of test-driven development, to support for more rigorous empirical studies on the effectiveness of TDD in both laboratory and real world settings. This paper describes the Zorro system, its operational definition of TDD, the analyses made possible by Zorro, two empirical evaluations of the system, and an attempted case study. Our research shows that it is possible to define an operational definition of TDD that is amenable to automated recognition, and illustrates the architectural and design issues that must be addressed in order to do so. Zorro has implications not only for the practice of TDD, but also for software engineering "micro-process" definition and recognition through its parent framework, Software Development Stream Analysis.
引用
收藏
页码:57 / 85
页数:29
相关论文
共 50 条
[31]   Towards interactive, test-driven development of model transformations [J].
Sanchez Cuadrado, Jesus .
JOURNAL OF OBJECT TECHNOLOGY, 2020, 19 (03) :1-12
[32]   The effectiveness of test-driven development: an industrial case study [J].
Tomaž Dogša ;
David Batič .
Software Quality Journal, 2011, 19 :643-661
[33]   Test-Driven Development of Concurrent Programs using Concuerror [J].
Gotovos, Alkis ;
Christakis, Maria ;
Sagonas, Konstantinos .
ERLANG 11: PROCEEDINGS OF THE 2011 ACM SIGPLAN ERLANG WORKSHOP, 2011, :51-61
[34]   Reliability of systematic literature reviews on test-driven development [J].
Uyaguari, Fernando ;
Acuna, Silvia T. ;
Castro, John W. ;
Dieste, Oscar ;
Juristo, Natalia .
INFORMATION AND SOFTWARE TECHNOLOGY, 2025, 184
[35]   HeyTeddy: Conversational test-driven development for physical computing [J].
Kim Y. ;
Choi Y. ;
Kang D. ;
Lee M. ;
Nam T.-J. ;
Bianchi A. .
Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies, 2019, 3 (04)
[36]   Performance Outcomes of Test-Driven Development: An Experimental Investigation [J].
Bhadauria, Vikram S. ;
Mahapatra, RadhaKanta ;
Nerur, Sridhar P. .
JOURNAL OF THE ASSOCIATION FOR INFORMATION SYSTEMS, 2020, 21 (04) :1045-1071
[37]   Test-driven development with mutation testing - an experimental study [J].
Roman, Adam ;
Mnich, Michal .
SOFTWARE QUALITY JOURNAL, 2021, 29 (01) :1-38
[38]   The effectiveness of test-driven development: an industrial case study [J].
Dogsa, Tomaz ;
Batic, David .
SOFTWARE QUALITY JOURNAL, 2011, 19 (04) :643-661
[39]   Adopting test-driven development in web applications' developments [J].
Rahman, SM ;
Salah, A .
Proceedings of the ISCA 20th International Conference on Computers and Their Applications, 2005, :361-366
[40]   Test-driven development with mutation testing – an experimental study [J].
Adam Roman ;
Michal Mnich .
Software Quality Journal, 2021, 29 :1-38