Unit Testing Kicks Major Ass

I’m in love. Such beauty, such awesomeness. Whenever I think about it, I smile. If I wasn’t a nerd, I would be talking about some fine lady, but I’m talking about PHPUnit.

What can’t you say about a library, that allows you to fix problems before they go live and cut problems down to bite sized chunks. A library that helps you design a library and fix problems before you realize they are problems. A library that, with the help of XDebug, tells you how much code you are covering.

Awesome, with all the greens, yellows (or is it orange), and reds (which you want to avoid as much as possible). Yes, I do enjoy code coverage and spending hours upon hours tuning the code just right so that the tests and the code match perfectly.

It is an art, and a therapy. If you think of it as a game, then time just passes by unnoticed and without care.

Much respect to the authors, whoever you are.

Possibly Related Posts:


Comments are closed.