- Test Driven Development (TDD) uses JUnit to write test cases before writing code to remove fear factors and clearly depict what the code is doing.
- The three steps of TDD are Red (a failed test case), Green (the test passes), and Refactor (change code to meet design principles).
- An example walks through writing tests for a Book class, making the tests fail, making them pass, and refactoring the code using TDD principles.