Home  >  Article  >  Backend Development  >  phpunit 的大局安装

phpunit 的大局安装

WBOY
WBOYOriginal
2016-06-13 12:05:32985browse

phpunit 的全局安装

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

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn