I've spent some time to figure out how to configure Netbeans 7.1 to work with Symfony 2 and PHPUnit, but I didn't succeed. When I try to run any test under console, there is no problem. But when running using shift+F6, it returns
"PHP Fatal error: Class 'Symfony\Bundle\FrameworkBundle\Test\WebTestCase' not found"
Does anybody know how to succeed with such kind of configuration?
phpunit.xml
andbootstrap.php
files. The latter must set up the include path and autoloader (if necessary). It might help if you can post yourbootstrap.php
file too. – Inefficient