Answer the question
In order to leave comments, you need to log in
How to run Yii2 tests?
Installed fresh yii2-advanced, added packages:
codeception/codeception,
codeception/verify,
codeception/specify.
Ran codecept build . LoginFormTest.php was created in common/test
And after codecept run got exception
"PHP Fatal error: Uncaught Error: Call to undefined method common\tests\unit\models\LoginFormTest::setGroups() in C:\xampp\htdocs\apiuchimb \vendor\phpunit\phpu
nit\src\Framework\TestSuite.php:229"
Codeception v2.1.5
PHPUnit 4.8.22
Has anyone encountered this?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question