A Dissection of the Test-Driven Development Process: Does It Really Matter to Test-First or to Test-Last?
Open accessThe DOI matches its Crossref record; 4 of the 4 references it cites were found in a registry or an index.
Abstract
Background: Test-driven development (TDD) is a technique that repeats short coding cycles interleaved with testing. The developer first writes a unit test for the desired functionality, followed by the necessary production code, and refactors the code. Many empirical studies neglect unique process characteristics related to TDD iterative nature. Aim: We formulate four process characteristic: sequencing, granularity, uniformity, and refactoring effort. We investigate how these characteristics impact quality and productivity in TDD and related variations. Method: We analyzed 82 data points collected from 39 professionals, each capturing the process used while performing a specific development task. We built regression models to assess the impact of process characteristics on quality and productivity. Quality was measured by functional correctness. Result: Quality and productivity improvements were primarily positively associated with the granularity and uniformity. Sequencing, the order in which test and production code are written, had no important influence. Refactoring effort was negatively associated with both outcomes. We explain the unexpected negative correlation with quality by possible prevalence of mixed refactoring. Conclusion: The claimed benefits of TDD may not be due to its distinctive test-first dynamic, but rather due to the fact that TDD-like processes encourage fine-grained, steady steps that improve focus and flow.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Multimodel Inference: Understanding AIC and BIC in Model Selection
Burnham, K. P., & Anderson, D. R. (2004) · Sociological Methods & Research · doi:10.1177/0049124104268644 · Cited by 11,648
Ellis, P. D. (2010) · doi:10.1017/cbo9780511761676 · Cited by 2,461
Mann, C. J. (2003) · Emergency Medicine Journal · doi:10.1136/emj.20.1.54 · Cited by 1,558 · cited 1×
“We call it an observational study [16] because by pooling data from all experimental groups, we effectively abstract away from them.”
MethodHow We Refactor, and How We Know It
Murphy-Hill, E., Parnin, C., & Black, A. P. (2012) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2011.41 · Cited by 547
Cited by
Unveiling ChatGPT’s usage in open source projects: A mining-based study
Tufano, R., Mastropaolo, A., Pepe, F., Dabic, O., Di Penta, M., & Bavota, G. (2024) · Proceedings of the 21st International Conference on Mining Software Repositories · doi:10.1145/3643991.3644918 · Cited by 38
A family of experiments on test-driven development
Santos, A., Vegas, S., Dieste, O., Uyaguari, F., Tosun, A., Fucci, D., Turhan, B., Scanniello, G., Romano, S., Karac, I., et al. (2021) · Empirical Software Engineering · doi:10.1007/s10664-020-09895-8 · Cited by 30
“Even though we do not focus on the length and rhythm of the development cycles with TDD (see [20] for an extended discussion on this point), our results appear to be consistent with the observations made by Karac and Turhan [29].”
BackgroundMethodResultInfluentialSelf-citationApplying Test Driven Development in the Big Data Domain – Lessons From the Literature
Staegemann, D., Volk, M., Lautenschlager, E., Pohl, M., Abdallah, M., & Turowski, K. (2021) · 2021 International Conference on Information Technology (ICIT) · doi:10.1109/icit52682.2021.9491728 · Cited by 19
Studying test-driven development and its retainment over a six-month time span
Baldassarre, M. T., Caivano, D., Fucci, D., Juristo, N., Romano, S., Scanniello, G., & Turhan, B. (2021) · Journal of Systems and Software · doi:10.1016/j.jss.2021.110937 · Cited by 15
Self-citationA Literature Review on the Challenges of Applying Test-Driven Development in Software Engineering
Staegemann, D., Volk, M., Perera, M., Haertel, C., Pohl, M., Daase, C., & Turowski, K. (2022) · Complex Systems Informatics and Modeling Quarterly · doi:10.7250/csimq.2022-31.02 · Cited by 10
Metadata
- Authors
- Fucci, D., Erdogmus, H., Turhan, B., Oivo, M., & Juristo, N.
- Venue
- IEEE Transactions on Software Engineering
- Published
- 2017-07-01
- Volume
- 43
- Issue
- 7
- Pages
- 597-614
- ISSN
- 0098-5589 (ISSN-L)
- 1939-3520
- OpenAlex
- W2551905807
- Cited by
- 90
- References
- 4
- FWCI
- 25.27
- Type
- journal article
- Language
- en
- Open access
- green
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
How to cite
Cite CoChat for the checks on this page, and the paper for its own findings.
- This page
- CoChat. (2026). Citation check: A Dissection of the Test-Driven Development Process: Does It Really Matter to Test-First or to Test-Last? https://app.cochat.ai/papers/10.1109/tse.2016.2616877
- The paper
- Fucci, D., Erdogmus, H., Turhan, B., Oivo, M., & Juristo, N. (2017). A Dissection of the Test-Driven Development Process: Does It Really Matter to Test-First or to Test-Last? IEEE Transactions on Software Engineering. https://doi.org/10.1109/tse.2016.2616877
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.