I successfully installed the symfony 3.2.4 project with the following commands:
symfony new symfony_test
cd symfony_test
composer require --dev phpunit/phpunit ^6.0
composer update
Then, when I try to run the test by default, I have the following error:
$ vendor/bin/phpunit tests/AppBundle/Controller/DefaultControllerTest.php
Fatal error: Class 'PHPUnit_Framework_TestCase' not found in C:\Users\po.louis\PhpstormProjects\test\symfony_test\vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle\Test\KernelTestCase.php on line 23
What am I missing?
source
share