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 条
[41]   Applying Test-driven Development to Evaluating Student Projects [J].
Cuong Huy Tran ;
Truscan, Dragos ;
Ahmad, Tanwir .
HEAD'20: 6TH INTERNATIONAL CONFERENCE ON HIGHER EDUCATION ADVANCES, 2020, :1155-1163
[42]   Extending Test-Driven Development for Robust Web Services [J].
Laranjeiro, Nuno ;
Vieira, Marco .
DEPEND: 2009 SECOND INTERNATIONAL CONFERENCE ON DEPENDABILITY, 2009, :122-127
[43]   Test-Driven Development: Challenges and Recommendations for Trainers and Educators [J].
Paez, Nicolas ;
Fontdevila, Diego ;
Zangara, Alejandra .
2024 L LATIN AMERICAN COMPUTER CONFERENCE, CLEI 2024, 2024,
[44]   Assessing The Effectiveness Of Test-Driven Development and Behavior-Driven Development in an Industry Setting [J].
Dookhun, Avishek Sharma ;
Nagowah, Leckraj .
PROCEEDINGS OF 2019 INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE AND KNOWLEDGE ECONOMY (ICCIKE' 2019), 2019, :366-371
[45]   On the role of tests in test-driven development: a differentiated and partial replication [J].
Davide Fucci ;
Burak Turhan .
Empirical Software Engineering, 2014, 19 :277-302
[46]   Towards empirical evaluation of Test-Driven Development in a university environment [J].
Pancur, M ;
Ciglaric, M ;
Trampus, M ;
Vidmar, T .
IEEE REGION 8 EUROCON 2003, VOL B, PROCEEDINGS: COMPUTER AS A TOOL, 2003, :83-86
[47]   Test-driven development for generated portable Java']Javascript apps [J].
Bouragadi, Noury ;
Mason, Dave .
SCIENCE OF COMPUTER PROGRAMMING, 2018, 161 :2-17
[48]   Why Do Software Developers Practice Test-Driven Development? [J].
Kayongo, Patrick ;
Chigona, Wallace ;
ZwelithiniMabhena .
2016 THIRD INTERNATIONAL CONFERENCE ON ADVANCES IN COMPUTING, COMMUNICATION AND ENGINEERING (ICACCE 2016), 2016, :357-361
[49]   Test-Driven Development of Graphical User Interfaces: A Pilot Evaluation [J].
Hellmann, Theodore D. ;
Hosseini-Khayat, Ali ;
Maurer, Frank .
AGILE PROCESSES IN SOFTWARE ENGINEERING AND EXTREME PROGRAMMING, 2011, 77 :223-237
[50]   Speed Up the Conception of Logical Systems with Test-Driven Development [J].
Mathieu Vidal .
Journal of Logic, Language and Information, 2014, 23 :83-103