Updating instructions for installing phpunit.

This commit is contained in:
mark_story 2010-11-07 18:00:22 -05:00
parent af303f01c7
commit b8cc605e21

View file

@ -23,11 +23,18 @@
<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 <code>pear install phpunit</code>. Or the 'PHPUnit' directory from the distribution can be placed in one of your vendors directories.</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> <ul>
<li><?php echo CAKE; ?>vendors </li> <li><?php echo CAKE; ?>vendors </li>
<li><?php echo APP_DIR . DS; ?>vendors</li> <li><?php echo APP_DIR . DS; ?>vendors</li>
</ul> </ul>
<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>
</ul>
<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'; ?>