Test-Driven Development (TDD) is a simple idea: write the tests for your code before writing the code itself. This “deceptively simple” reversal, however, fundamentally changes the role that testing plays in the development process and challenges assumptions about what testing is for. Starting with an overview of TDD, Freeman and Pryce fill in the practical details that actually make it work in object-oriented systems. They also present an extended example that tries to strike a balance between being large enough to be realistic and small enough to fit in a book.
The Rough Cuts service offers several options. You can purchase online access to the book with unlimited online viewing and PDF downloads of each revision, pre-purchase the print book at a significant discount, or get the best of both worlds - online access immediately and the discounted print book later. Any way you cut it, you will receive the finished product when it is published. Rough Cuts books are published from a few months to a year after being included in the program. Note: Safari Library subscribers have unlimited online access to all Rough Cuts books.