Update the PHPUnit install instructions.

Fixes #2106
This commit is contained in:
mark_story 2011-10-17 09:31:31 -04:00
parent 56b4e1e388
commit 1d8199b86d

View file

@ -22,19 +22,15 @@
<div id="content">
<h2>PHPUnit is not installed!</h2>
<p>You must install PHPUnit to use the CakePHP(tm) Test Suite.</p>
<p>PHPUnit can either be installed with pear, using the pear installer. Or the 'PHPUnit' directory from the distribution can be placed in one of your vendors directories.</p>
<ul>
<li><?php echo CAKE; ?>vendors </li>
<li><?php echo APP_DIR . DS; ?>vendors</li>
</ul>
<p>PHPUnit can be installed with pear, using the pear installer.</p>
<p>To install with the PEAR installer run the following commands:</p>
<ul>
<li>pear channel-discover pear.phpunit.de</li>
<li>pear channel-discover components.ez.no</li>
<li>pear channel-discover pear.symfony-project.com</li>
<li>pear install phpunit/PHPUnit</li>
<li><code>pear channel-discover pear.phpunit.de</code></li>
<li><code>pear channel-discover components.ez.no</code></li>
<li><code>pear channel-discover pear.symfony-project.com</code></li>
<li><code>pear install phpunit/PHPUnit-3.5.15</code></li>
</ul>
<p>For full instructions on how to <a href="http://www.phpunit.de/manual/current/en/installation.html">install PHPUnit, see the PHPUnit installation guide</a>.</p>
<p><a href="http://github.com/sebastianbergmann/phpunit" target="_blank">Download PHPUnit</a></p>
</div>
<?php include dirname(__FILE__) . DS . 'footer.php'; ?>
<?php include dirname(__FILE__) . DS . 'footer.php'; ?>