2 ms·
FWIW, I think the most important thing here is not to confuse use of unit tests with the adoption of TDD. The former does not imply the latter: you can write un
by Silhouette 17y ago
FWIW, I think the most important thing here is not to confuse use of unit tests with the adoption of TDD. The former does not imply the latter: you can write unit tests after you write your code, or even before/during writing code for that matter, without being test-driven in your approach.
I have yet to see any credible study that showed a benefit for TDD and controlled for the use of unit testing as part of a more traditional development process. There is some evidence that, at least for some types of project, TDD has been more successful by some metrics than a heavyweight, waterfall process with no unit testing, but there are usually so many uncontrolled variables involved that it's hard to read much of value into any of those results.