mercredi 1 juin 2016

How to run unit tests(codeception) in yii2 framework?

I am new to Codeception concept and trying to run the unit test scripts in this directory tests/codeception/frontend/unit and db configuration for testing has been done in config-local.php.

Now my question is how to run the scripts, i have tried the below code in terminal.

#frontend tests cd frontend codecept build codecept run

It says codecept: command not found

Can any one help me out?

Aucun commentaire:

Enregistrer un commentaire