- Set Yii2 paths in file
unit.suite.yml
and_bootstrap.php
- Run the tests
[path to your vendor dir]/bin/codecept run unit
Hint: Don't forget to check
test.php
and/ortest_db.php
in your config folder of your yii2 project and if the testing db is existing.