ytest is a library that acts as an extension to PHPUnit, and uses runkit (php extension)
to make unit testing easier (like accessing private stuff, rebinding static methods…)
ytest's current version is 1.0rc1
You can try it safely on your projects (it has been used in a real-world test suite).
You can find ytest’s manual here:
ytest’s license is BSD.