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"> <div id="content">
<h2>PHPUnit is not installed!</h2> <h2>PHPUnit is not installed!</h2>
<p>You must install PHPUnit to use the CakePHP(tm) Test Suite.</p> <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> <p>PHPUnit can be installed with pear, using the pear installer.</p>
<ul>
<li><?php echo CAKE; ?>vendors </li>
<li><?php echo APP_DIR . DS; ?>vendors</li>
</ul>
<p>To install with the PEAR installer run the following commands:</p> <p>To install with the PEAR installer run the following commands:</p>
<ul> <ul>
<li>pear channel-discover pear.phpunit.de</li> <li><code>pear channel-discover pear.phpunit.de</code></li>
<li>pear channel-discover components.ez.no</li> <li><code>pear channel-discover components.ez.no</code></li>
<li>pear channel-discover pear.symfony-project.com</li> <li><code>pear channel-discover pear.symfony-project.com</code></li>
<li>pear install phpunit/PHPUnit</li> <li><code>pear install phpunit/PHPUnit-3.5.15</code></li>
</ul> </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>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> <p><a href="http://github.com/sebastianbergmann/phpunit" target="_blank">Download PHPUnit</a></p>
</div> </div>
<?php include dirname(__FILE__) . DS . 'footer.php'; ?> <?php include dirname(__FILE__) . DS . 'footer.php'; ?>