phpunit的全局安装:
<code class="prompt">$</code> <strong class="userinput"><code>wget https://phar.phpunit.de/phpunit.phar</code></strong><code class="prompt">$</code> <strong class="userinput"><code>chmod +x phpunit.phar</code></strong><code class="prompt">$</code> <strong class="userinput"><code>sudo mv phpunit.phar /usr/local/bin/phpunit</code></strong><code class="prompt">$</code> <strong class="userinput"><code>phpunit --version</code></strong>
参考文献:
http://phpunit.de/manual/current/en/installation.html