PHP Question

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

I got error while testing class in Netbeans:


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


enter image description hereenter image description here

Answer

Netbeans sample project named "Calculator - PHPUnit Sample Application" generates phpunit.xml with line <phpunit bootstrap="../vendor/autoload.php">

Comments