Forums / Developer / Unit testing / Comment63254
Jean-Luc Chassaing
Friday 29 October 2010 6:45:32 am
Tank you for the help...
Well I found out that there is something more with the 3.5.x release the :
PHPUnit_Util_Filter::addDirectoryToFilter( getcwd() . '/tests' );
can't be used, the addDirectoryTyFilter method has been removed. It has to be replaced by :
PHP_CodeCoverage_Filter::getInstance()->addDirectoryToBlacklist(getcwd() . '/tests');
but the fact is I think I've all messed it up...
I'm trying to downgrade to an older release 3.4 but now the test/runtest.php script is insulting me telling that an unexpected error has occurred ... that's great !