问题
I try to understand PHPUnit tests in Netbeans. I set correct phpunit.bat
path and the phpunit-skelgen.bat
file as well.
When I try to create test for some file, using the netbeans option such us "create test file" I get correct directory structure, but the files are placed incorrectly.
Next, following the tutorials from web I set the test folder (to jobeet/tests
), the phpunit bootstrap to jobeet\app\bootstrap.php.cache
and the xml configuration file to jobeet\app\phpunit.xml.dist
Please see the screenshots below
来源:https://stackoverflow.com/questions/19745039/phpunit-netbeans-and-symfony2-and-wrong-tests-location