В справке PHPUnit он отображает следующее:
--group ... Only runs tests from the specified group(s).
--exclude-group ... Exclude tests from the specified group(s).
Достаточно просто для одной группы. Это работает:
phpunit --group fast
Теперь я не могу понять, как это сделать с более чем одной группой. Следующее не работает для меня:
phpunit --group fast unit # It believes you want to test unit.php
phpunit --group fast, unit # It believes you want to test unit.php
phpunit --group "fast unit" # It looks for a single group "fast unit"
phpunit --groups fast, unit # There is no option, groups
phpunit --group fast --group unit # Only one is honored
Любые мысли о правильном синтаксисе приветствуются. Спасибо.