Warning (2): include(PHPUnit/Autoload.php): failed to open stream: No such file or directory [CORE/Cake/TestSuite/CakeTestSuiteDispatcher.php, line 146]
Warning (2): include() [function.include]: Failed opening 'PHPUnit/Autoload.php' for inclusion (include_path='/home/mairie53/www/lib:.:/usr/share/pear:/usr/share/php') [CORE/Cake/TestSuite/CakeTestSuiteDispatcher.php, line 146]
CakePHP Test Suite 2.3

CakePHP Test Suite 2.3

PHPUnit is not installed!

You must install PHPUnit to use the CakePHP(tm) Test Suite.

PHPUnit can be installed with pear, using the pear installer.

To install with the PEAR installer run the following commands:

  • pear config-set auto_discover 1
  • pear install pear.phpunit.de/PHPUnit

Once PHPUnit is installed make sure its located on PHP's include_path by checking your php.ini

For full instructions on how to install PHPUnit, see the PHPUnit installation guide.

Download PHPUnit