Chapter 5 discussion

--Originally published at Hackerman's house

1.- Some organizations in industry who adopt TDD report that it succeeds very well, and others report that it fails. Based on your knowledge of TDD and any experience you have, why do you think it succeeds sometimes but not all?

Test driven development is really dependent on the culture of the industry. If you try to take this approach, but you don’t develop your test seriously you won’t be able to succeed. To do this kind of development your tests cases have to be defined really well, in order to have high quality software; the validity of your tests play an important role as this allow you to do iterations of programming that get you closer to your final goal (avoiding to waste time).

2.- A few software organizations use test criteria and report great success. However, most organizations do not currently use test criteria. Based on your knowledge and experience, why do you think test criteria are not used more?

Because they don’t create appropriate test criteria and they try to get near 100% coverage, which is impossible and time wasting. It could also be the test they make are not in line with the functionality that they are trying to incorporate to their program and lose the focus of the project.