我已经尝试安装phpunit安装本身似乎很好。phpunit(安装)错误
我可以运行“PHPUnit的”,但是当我尝试运行一个测试“PHPUnit的test.php的”我得到
'""C:\Program' is not recognized as an internal or external command, operable program or batch file. PHPUnit 3.3.17 by Sebastian Bergmann. .. Time: 0 seconds OK (2 tests, 2 assertions)
,从而可以看出U,PHPUnit的运行,但一些奇怪的第一次。而在netbeans中,我得到“'”“C:\ Program'不被识别为内部或外部命令,可操作的程序或批处理文件。”并停止
看来,你的链接是无效的,但我发现[另一个非常类似(https://github.com/sebastianbergmann/phpunit/issues/823),主要的区别在于,这个问题specificaly时使用进程隔离('@ runInSeparateProcess')。它应该在3.7.15中修复。 – ken 2014-04-01 21:11:13