wamp

wamp安装phpunit

1.下载pear http://pear.php.net/go-pear.phar
2.安装pear X:\wamp\bin\php\php5.x.x>php -d phar.require_hash=0 PEAR/go-pear.phar(一路确认)
3.安装phpunit
pear config-set auto_discover 1
pear install –alldeps –force phpunit/PHPUnit
4.安装phpunit skeleton
pear install phpunit/PHPUnit_SkeletonGenerator