TDD survey results revisited had an interesting post on the how well the Test Driven Development, or TDD among software organization:
Does your organization actively practice test-driven development (TDD)? Chances are, the answer is no- at least based on the results of a survey distributed at Stelligent’s TDD roundtable, which found that the majority (84%) of the survey respondents aren’t practicing TDD, and 79% said they do not measure code coverage for development projects.Why TDD is not actively practice?
Here are my 2cents.
- The management not concern about unit testing because it doesn't yield tangible benefits straightaway. Can you PROVE that doing unit testing speeds up your development and reduce bug count? Yeah, maybe some may feel that. But to prove it using graphs and metrics are not easy.
- The developers do not write their code with testability in mind. Instead, they write code to accomplish a feature. And when the problems come, they want to fix the problems., not write test first and only then fix the problems
- The software organization needs to maintain legacy applications that are poorly written and have no unit test coverage. And you know how hard it is to unit test the legacy applications.
Further reading: Barriers remain for test-driven development