Search code examples
phptestingyii2codeception

Disable functional and acceptance test in Yii2


I'm starting using codeception in Yii2 to perform unit tests, functional tests and acceptance tests.

I would focus on the unit tests for the moment.

So, I looking for the appropriate way to disable functional tests and acceptance tests without deleting my existing tests files.


Solution

  • You can use only unit tests and run only them. For running only unit tests use codecept run unit