Forums / Developer / Unit testing / Comment63242
Jean-Luc Chassaing
Friday 29 October 2010 2:58:23 am
OK let me give here some more things.
I've fixed my previous problem by adding a require_once in the runtest.php file.
But There's something I still can't get through. looks like I'm not using the right phpunit release !??
here's the error message I'm getting now :
Call to undefined method PHPUnit_Util_Filter::addDirectoryToFilter() in runtest.php on line 22
but in fact the addDirectoryToFilter method doesn't exist in PHPUnit/Util/Filter.php where the PHPUnit_Util_Filter class is declared.
I thought using unit test would be easy but I' m wasting my time trying to fix does problems..
Any help would really be great !