phpunit.php 1.6 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. /**
  3. * Missing PHPUnit
  4. * error page.
  5. *
  6. * PHP 5
  7. *
  8. * CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
  9. * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
  10. *
  11. * Licensed under The MIT License
  12. * Redistributions of files must retain the above copyright notice
  13. *
  14. * @copyright Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
  15. * @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
  16. * @package Cake.TestSuite.templates
  17. * @since CakePHP(tm) v 1.2.0.4433
  18. * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
  19. */
  20. ?>
  21. <?php include dirname(__FILE__) . DS . 'header.php'; ?>
  22. <div id="content">
  23. <h2>PHPUnit is not installed!</h2>
  24. <p>You must install PHPUnit to use the CakePHP(tm) Test Suite.</p>
  25. <p>PHPUnit can be installed with pear, using the pear installer.</p>
  26. <p>To install with the PEAR installer run the following commands:</p>
  27. <ul>
  28. <li><code>pear config-set auto_discover 1</code></li>
  29. <li><code>pear install pear.phpunit.de/PHPUnit</code></li>
  30. </ul>
  31. <p>Once PHPUnit is installed make sure its located on PHP's <code>include_path</code> by checking your php.ini</p>
  32. <p>For full instructions on how to <a href="http://www.phpunit.de/manual/current/en/installation.html" target="_blank">install PHPUnit, see the PHPUnit installation guide</a>.</p>
  33. <p><a href="http://github.com/sebastianbergmann/phpunit" target="_blank">Download PHPUnit</a></p>
  34. </div>
  35. <?php
  36. include dirname(__FILE__) . DS . 'footer.php';