I have a error with PHPUnit using Symfony2
In my test case I import:
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
But, when I execute it I get:
PHP Fatal error: Class 'Symfony\Bundle\FrameworkBundle\Test\WebTestCase' not found in C:\trabajo\web\Company\src\Company\WebBundle\Tests\dbTest.php on line 11
I use to execute it:
phpunit -c app/ src/Company/WebBundle/Tests/dbTest
Any help?
Thanks in advance.
class dbTest extends WebTestCasephpunit -c app