I did not find any way to do this in the documentation and other channels.
I add traction request for this ability to use parameters from the console in tests
When it is merged into master, you can run the tests as follows:
php codecept run -p "site-id: 123456, group: admin" -p "duty: free"
You can find more information in PR.
source
share