
Originally Posted by
phpimpact
1. BDD is an evolution of TDD.
2. In order to write code, first you have to write a test.
3. In TDD you cannot write code before writing a test, that includes a use cases analysis.
4. The primary goal of a unit test is to design a system from the developer's perspective.
5. The primary goal of a use case analysis is to design a system from the user's perspective.
6. If you use TDD, creating an abstract model of a system is pointless.
7. Once you have written some code, you cannot use the TDD technique.
8. If you don't write a unit test first, you'll never know when to stop coding.
9. If you don't write a unit test firt, you'll never know what target to hit.
10. TDD is better than unit testing because it not only ensures the quality of a system, but helps design it.
11. By using TDD you ensure the quality of a software.
12. The quality of a software is good when it works and has no bugs.
13. TDD is also considered a design technique.
14. The agile spirit is to use TDD only if needed.
Bookmarks