Answer the question
In order to leave comments, you need to log in
Why doesn't Codeception work on a pure Yii2 template?
Installing the yii2-app-basic template via Composer.
Without changing anything, I run any of the commands:
codecept build
codecept run
PHP Fatal error: Cannot declare class Codeception\TestCase\Test, because the name is already in use in C:\server\data\htdocs\trycodecept\vendor\codeception\base\shim.php on line 58
Answer the question
In order to leave comments, you need to log in
I lost it myself, according to some instructions I installed Codeception globally, in a separate directory.
It turns out that everything is built into the template and you just need to runvendor/bin/codecept run
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question