Warning (2): include(PHPUnit/Autoload.php): failed to open stream: No such file or directory [CORE/Cake/TestSuite/CakeTestSuiteDispatcher.php, line 149]
Warning (2): include(PHPUnit/Autoload.php) [http://php.net/function.include]: failed to open stream: No such file or directory [CORE/Cake/TestSuite/CakeTestSuiteDispatcher.php, line 149]
Warning (2): include() [http://php.net/function.include]: Failed opening 'PHPUnit/Autoload.php' for inclusion (include_path='/var/www/vhosts/douceurdesoi.fr/httpdocs/lib:.:') [CORE/Cake/TestSuite/CakeTestSuiteDispatcher.php, line 149]
CakePHP Test Suite 2.4.2

CakePHP Test Suite 2.4.2

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