0
votes

When I download codeception with composer and run vendor/bin/codecept from project directory, it says vendor not recognized as internal or external program.

There is a folder inside vendor codeception/codeception/codecept bootstrap and it works if I run it from in there but when creating a class test and running the tests I get weird results like isAngularTest....?? I have tried quite a few different commands but cant get it to work they way the codeception website indicates or how my lecture says it should. I am using windows 10.

1
I also hat problems with the composer version of codeception. Did you try the phar file? That worked for me using Windows 10.Raul Pinto

1 Answers

3
votes

You need to run vendor\bin\codecept.bat and not vendor\bin\codecept - the latter one is a Bash script, it won't start in Windows command line.

I am not sure why you tagged this question with PhpStorm, so I'll put this here just in case.