Setup include path for PEAR on Wamp
问题 Installed PEAR and followed the directions on http://www.phpunit.de/manual/current/en/installation.html: pear config-set auto_discover 1 pear install pear.phpunit.de/PHPUnit. Then, I created the test: <?php # error reporting ini_set('display_errors',1); error_reporting(E_ALL|E_STRICT); # include TestRunner require_once 'PHPUnit/TextUI/TestRunner.php'; # our test class class ExampleTest extends PHPUnit_Framework_TestCase { public function testOne() { $this->assertTrue(FALSE); } } # run the