title: Installing PHPUnit w/ XAMPP on Mac OS X
body: <p>Does anyone know how to install PHPUnit on Mac OS X (I'm using XAMPP). I tried the following commands and it said installation succeeded (no errors). Now, when I try to run a phpunit command in Terminal, I get an error that the command phpunit could not be found. Also, running "which phpunit" returns nothing.</p>
  
  <p>The commands I ran:</p>
  
  <pre><code>    $sudo /Applications/XAMPP/xamppfiles/bin/pear channel-discover pear.phpunit.de
      $sudo /Applications/XAMPP/xamppfiles/bin/pear channel-discover pear.symfony-project.com
      $sudo /Applications/XAMPP/xamppfiles/bin/pear channel-discover components.ez.no
      $sudo /Applications/XAMPP/xamppfiles/bin/pear install -a phpunit/PHPUnit
  </code></pre>
  
  <p>Thanks.</p>