I'm looking for research papers or studies made on Unit Testing and TDD effectiveness.
Points of interest:
They examined the results from teams that used TDD, and those that didn't. The big takeaways were 60-90% decrease in defects, and a 15-35% increase in time to complete the projects (but the teams agreed that it was offset by reduced maintenance costs).
When you're doing TDD while learning it, it takes longer than if you weren't doing TDD. But this is just temporary; once you know TDD, you won't be slowed down by the learning process. While writing tests takes time, it can take the place of time-consuming manual testing.
No, TDD is not slow. TDD might seem slow because you need to write tests and the actual code at the same time. However, in the long run, TDD helps you achieve higher code quality with fewer bugs. Test-driven development can improve the future of your product.
StudiesOfTestDrivenDevelopment has a summary and more links.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With