concept test - drive development in category php

appears as: test-driven development
PHP in Action: Objects, Design, Agility

This is an excerpt from Manning's book PHP in Action: Objects, Design, Agility.

That’s how it’s always been, anyway. But in recent years, testing has had a surge in popularity. Programmers are getting “test infected,” or you might say, addicted. Some are even claiming that it’s fun: “Test-driven development is a lot more fun than writing tests after the code seems to be working. Give it a try!” (http://junit.sourceforge.net/doc/faq/faq.htm#best).

Figure 1.5. In test-driven development, the tests are doing useful work much earlier.