Well, over the last 3 days or so, I’ve been doing some serious unit testing with PHPUnit. Unfortunately, I didn’t start writing any serious tests until two days AFTER I started having problems testing my class hierarchy.
One of the problems that arose while I was writing the first couple of unit tests, was I realized that I didn’t know how to test Abstract classes. In my search to find a solution, I vaguely remembered a tool called phpUnderControl. Continue reading