
Test-Driven Development: By Example
by Kent Beck
Beck demonstrates the red-green-refactor cycle of test-driven development through two worked examples (a money example in Java and the xUnit framework in Python), arguing that writing tests first produces cleaner designs and frees programmers from the fear of change. He presents TDD not as a testing technique but as a design discipline in which tests drive the emergence of the code's architecture.
- Published:
- Pages:
- 240











