Is TDD Dead? is an insightful debate about the merits of test-driven development, and the pitfalls of following it dogmatically.
My favorite quote, from part 5: “Most people cannot just leave good ideas the fuck alone.”
Nikolay Bachiyski gave a good talk at this year’s WordCamp San Francisco about unit testing WordPress plugins. His method uses PHPUnit, which is an additional PEAR package you have to install on the server. You can then use MockPress to simulate WordPress in the tests. Another option is the SimpleTest for WordPress plugin, which uses SimpleTest […]