Unalble to run one test at a time

Hi,

unable to run test one unittest at a time in windows where "concept run " works fine

I’m using advance Yii 2 template


vendor\bin\codecept run unit AddUserFormTest:testAddUserCorrect



Error: Suite unit was not loaded

The suite has to be specified. To specify it use -c frontend or -c common or -c backend (depends on where your test file is located).

Try like this:


vendor\bin\codecept run unit AddUserFormTest:testAddUserCorrect -c frontend



If this does not work, you should remove "unit" and add a specific path to your Testfile like:


vendor\bin\codecept run tests/unit/models/AddUserFormTest:testAddUserCorrect -c frontend