PHPUnit has a feature where one can define suites in the XML file and these will be run sequentially (unless the suite to run is specified from CLI). I tried something similar with Behat 3, but instead of running the suites, it seemed to run everything (it looked like it took the default settings).
- Is this the correct behaviour, or did I do something wrong?
- Is there a way to make it work like PHPUnit without requiring extensions?
A little context on what I need: I'm testing a system and there are two types of tests: (a) should run during setup and (b) should run after setup (possibly more will come up in the future).
I'm controlling this with the use of tags/filtering, but it would be nice to avoid having to run
behat --tags=before-setup && behat --tags=after-setup (also because it would be great to have one unified output)