Friday 29 October 2010 1:44:00 am
Hello every one, I really need some help or I'll get crazy ! I want to make some unit testing on my bran new code. Never done it before with phpunit and I just wanted to test it. I've looked around the forum, by the way, a tutorial would be a great thing on this site, so I found out what to do looking at various topics. So I first had a look at ezpedia. Installed PhpUnit with pear and downloaded the tests folder from github. all this looks good. BUT !! I'm just trying to run a simple test to see if all works right : php test/runtest.php --list-tests but my problem come here I get a fatal error saying
Fatal error: Class 'PHPUnit_Runner_BaseTestRunner' not found in /usr/lib/php/PHPUnit/TextUI/TestRunner.php on line 59 I know it's not directly related to ezpublish but if someone could give me a clue, it would be great !
|