Learning how to use PHPUnit doesn't have to suck Your code is untested and fixing bugs is tedious You know you need something better, but time just doesn't seem to be on your side. Making things "right" is costly and you need to deliver working code NOW.
Writing tests is time-consuming and you're not sure how to fit it in Tests would be great but there are real deadlines to meet. You can't stop development and churn away for hours just to add tests around what you know already works.
PHPUnit is the unit testing framework of choice, but it's intimidating It looks hard to use and difficult to understand. You have little-to-no experience with it and just figuring out where to start feels daunting. You're left wondering how you use it to test all this stuff you're responsible for.
You don't have time to slow down development You need to write solid, bug-free code, but your path is filled with manual tests and an application that breaks every time you change it.
You could go home from work, on-time and happy. Life would be sweet with a solid set of tests If you already had tests, you'd probably catch bugs faster.
You could refactor your code ruthlessly Your tests would tell you when a requirements change broke something.
With tests, you'd push code to production with confidence No longer would you dread the bug reports. You'd happily make changes knowing that your safety net is there. You'd try out new features guiding yourself with tests.
You can make this happen after reading "The Grumpy Programmer's PHPUnit Cookbook" You'll know exactly how to tackle your existing code.
You'll know how to drive new features with your tests.
You'll write tests that run fast and keep you moving quickly.