Chapter 28. Test-First Development
The Test-First Development practice involves writing tests before writing the production code that will support and eventually pass that test. Tests resulting from this practice tend to reflect a developer’s understanding of requirements because there is no design at its inception. The production code written to satisfy the tests tends to be loosely coupled and simple, which are both excellent design qualities.
Business Value
Test-first development addresses the same business values as indicated in automated developer tests. These values are quality, flexibility, product lifetime, time to market, and cost. In general, although test-first and test-last development address the same business values, test-first ...
Get Agile Adoption Patterns: A Roadmap to Organizational Success now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.