Skip to content
Permalink
Browse files

Updating instructions for installing phpunit.

  • Loading branch information...
markstory committed Nov 7, 2010
1 parent af303f0 commit b8cc605e214ca8d4e8c635521844929d861b4fd1
Showing with 8 additions and 1 deletion.
  1. +8 −1 cake/tests/lib/templates/phpunit.php
@@ -23,11 +23,18 @@
<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 <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>
<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>
<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>
</div>
<?php include dirname(__FILE__) . DS . 'footer.php'; ?>

0 comments on commit b8cc605

Please sign in to comment.
You can’t perform that action at this time.