PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Testing » PHPUnit2 » Bug #5824

Fatal error on running tests

Details

Submitted2005-10-29 15:18 UTC
Frominfo at e-novative dot de
Assignedsebastian
StatusClosed
PackagePHPUnit2
PHP Version5.0.4
OSWin XP
Roadmaps(Not assigned)

Comments

[2005-10-29 15:18 UTC] info at e-novative dot de

Description:
------------
When I run a batchtest from phing, I get

Fatal error: Class 'PHPUnit2_Framework_TestFailure' not found in C:\Programme\e-
novative\WAMP\php\PEAR\PHPUnit2\Framework\TestResult.php on line 156

Adding "require_once 'PHPUnit2/Framework/TestFailure.php';" to the file ".../PHPUnit2/Framework/TestResult.php" fixes the problem.

[2005-10-29 15:28 UTC] sebastian at php dot net

This bug has been fixed in CVS.

If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET).

If this was a problem with the pear.php.net website, the change should be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.