sebastianbergmann/phpunit — pull request #512 by glenjamin (2012-02-27 19:50:33+00:00)
Title: Allow autoloading of listeners and warn if loading fails

It turned out to be because the listener class wasn't loaded using the autoloader, which looks like it was done on purpose, but I couldn't see why. The attached patch enables autoloading for test listener classes.

The issue was very hard to spot or debug, as there's no error or warning raised by the test runner when the listener fails to load. I would have included this in the patch, but I couldn't see how to print to standard error easily from this part of the code.