I´m trying to use Codeception for WordPress.
Environment
I managed with composer
to build the project wp-browser
but when I try to run a command with the key word codecept
, I got this error :
bash: codecept: command not found
I checked my PhpStorm configuration in Settings > Languages & Frameworks > PHP > Test Frameworks
and I can see :
Path to codeception executable : E:\path\my-test-project\vendor\codeception\codeception
I had in PATH for all users E:\path\my-test-project\vendor\codeception\codeception
after following this question, without success.
When I test the command codecept
in Babun outside the PHPStorm Terminal, that works, so it seems to be a PhpStorm problem.
What could be the thing I forgot ?
I tried again and now it works. I´m not sure the reason why but it could be because on PHPStorm I clicked (to resolve an other problem ) on
File > Invalidated Caches / Restart...
.