OutputTestCase - No such file
Posted: Mon May 18, 2009 6:18 am
Hi all,
I'm new to php (but not to unit testing). Have some basic tests running but have a problem when I try and use PHPUnit_Extensions_OutputTestCase. I'm getting the error
PHP Fatal error: require_once(): Failed opening required '/PHPUnit/Extensions/OutputTestCase.php'
I'm running my tests from the PHPUnit-3.3.9 directory and I have the line
require_once 'PHPUnit/Extensions/OutputTestCase.php';
in my test file but it doesn't seem to locate the file, even though it's physically there.
I haven't go the phpUnit directory in my include_path yet (need to get the admin to sort it out) but I thought this should work as my other 'normal' tests are working.
Any ideas?
Cheers.
I'm new to php (but not to unit testing). Have some basic tests running but have a problem when I try and use PHPUnit_Extensions_OutputTestCase. I'm getting the error
PHP Fatal error: require_once(): Failed opening required '/PHPUnit/Extensions/OutputTestCase.php'
I'm running my tests from the PHPUnit-3.3.9 directory and I have the line
require_once 'PHPUnit/Extensions/OutputTestCase.php';
in my test file but it doesn't seem to locate the file, even though it's physically there.
I haven't go the phpUnit directory in my include_path yet (need to get the admin to sort it out) but I thought this should work as my other 'normal' tests are working.
Any ideas?
Cheers.