1、在https://phpunit.de/下载Stable Release:

在https://phpunit.de/下载Stable Release
2、将phpunit.phar复制到C:\php-5.4.42,C:\php-5.4.42为PHP的安装目录:

将phpunit.phar复制到C:\php-5.4.42,C:\php-5.4.42为PHP的安装目录
3、在cmd中运行php phpunit.phar –version、php phpunit.phar成功:

在cmd中运行php phpunit.phar –version、php phpunit.phar成功
近期评论