Search code examples
phpyii2phpstormcodeceptionyii2-basic-app

PhpStorm, Yii2 Basic and Codeception


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


Solution

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