In the PHP Codeception test framework, I want to be able to run multiple suites at once.
I can run them all like this:
codecept run
Or I can run individual suites like this:
codecept run acceptance
codecept run unit
codecept run browser
But I want to be able to run just two at a time, like this
codecept run acceptance,unit // This is not a thing. How can I do this?
One way you can get this result is by skipping the suites you don't want to run.
codecept run --skip unit --skip acceptance
As of Feb. 2017 it is possible to run multiple suites using the comma syntax. Per the Codeception docs:
codecept run unit,functional: run only unit and functional suites
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With