如何使用 Netbeans 8.1 配置 phpunit? "Cannot open file vendor/autoload.php" 正在测试 class

How to configure phpunit with Netbeans 8.1? "Cannot open file vendor/autoload.php" while testing class

我在 Netbeans 中测试 class 时出错:

Cannot open file "C:\wamp\www\Calculator-PHPUnit2\test../vendor/autoload.php".

名为 "Calculator - PHPUnit Sample Application" 的 Netbeans 示例项目生成 phpunit.xml 行 <phpunit bootstrap="../vendor/autoload.php">