1

I have configuration:

  • Open Server 5.2.8 (WAMP)
  • PhpStorm 2017.3.4
  • Yii 2.0.14 basic

I added to the %PATH% path to PHP and to the Codeception folder: Path to PHP Path to Codeception

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.

PhpStorm Terminal

I made such settings for PHPUnit and Codeception (from Yii2\vendor):

PHPUnit Settings

Codeceptiont Settings

But for some reason I receive such error:

Error

2 Answers 2

3

You are missing the dependency for phpunit, add the following to your composer.json

"require-dev": {
    "phpunit/phpunit": "3.7.*"
},

and run

composer update
Sign up to request clarification or add additional context in comments.

4 Comments

Thank you. I tried Screenshot, but the result is the same...
that is strange, can you confirm once after running composer self-update @SET
Yes, I can Screenshot. Maybe my mistake is in PHPStorm settings?
i think it was already there otherwise it should have been at the end in the list
1

Answers here and here. Thanks to @panosru. Just download new version PHPStorm 2017.3.6.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.