Hello
I'm using PHPUnit to test my models in ZF and came across a bit of an issue with it on Friday. So I have a Rowclass designated for a particular table class. Inside this row class I had made a syntax error that I didn't see and it did something weird to my test suite. Below is the output of PHPUnit for this particular test, first of all with the offending Rowclass commented out C:\svn\framework-dev\html\tests>phpunit models\AssociationTest.php PHPUnit 3.3.3 by Sebastian Bergmann. .I..I Time: 1 second OK, but incomplete or skipped tests! Tests: 5, Assertions: 7, Incomplete: 2. And now with the offending code back in. C:\svn\framework-dev\html\tests>phpunit models\AssociationTest.php PHPUnit 3.3.3 by Sebastian Bergmann. No errors, no tests.. nothing. Now I'm not sure if this is the fault of PHP, ZF or PHPUnit but it took me half a day to find it. As a warning any other coder that if this is happening to you you should check to see if you have a syntax error in your code somewhere. If anyone has an idea as to how this behaviour may be improved drop me a line, I'm going to alert the owner of PHPUnit to this as well if at all possible but I think it's a ZF issue. Zend_Loader::loadClass not exceptioning on a badly included rowClass perhaps? - Chris aka CatJelly on #zftalk -- View this message in context: http://www.nabble.com/PHPUnit-and-ZF-tp20658721p20658721.html Sent from the Zend Framework mailing list archive at Nabble.com.
