Reputation: 55
I have configuration:
I added to the %PATH%
path to PHP and to the Codeception folder:
In the PhpStorm terminal I launched the codecept run
command and everything looks good. But the Windows terminal does not maintain colors therefore I wanted to launch tests through PhpStorm.
I made such settings for PHPUnit and Codeception (from Yii2\vendor):
But for some reason I receive such error:
Upvotes: 1
Views: 531
Reputation: 55
Answers here and here. Thanks to @panosru. Just download new version PHPStorm 2017.3.6.
Upvotes: 1
Reputation: 23768
You are missing the dependency for phpunit
, add the following to your composer.json
"require-dev": {
"phpunit/phpunit": "3.7.*"
},
and run
composer update
Upvotes: 3