We are a small group of PHP developers contemplating on integrating or not TDD in our work flow to raise the quality of our web applications and at the same time eliminate the frustrating manual regression testing. My question is on the average how much development time would be added if we start using TDD?
Share
TDD is not just about writing tests to protect your code. It’s about tests driving the design. And so you might end up writing more code but you spend less time in design (or fixing problems due to lack of considered design).
A lot of the overhead I think would be at the initial stage while you learn how to use the various testing/mocking frameworks and understanding how to use unit tests to drive your design (briefly: write a failing test, then write the simplest possible functional code to make that test past, then refactor the functional code if necessary).
Once your team is up to speed with TDD and the various tools that you require, you guys will probably be more efficient than you are currently.