I've written a filter, and some unit tests to go with it. I can run the tests when I specify the specific class, but I can't choose to run the test group it belongs to.
I've essentially just put an @group GroupName at the top of my PHP test file. As I develop more plugins, I'd like to be able to run them by GroupName:
/** * Unit tests for the FooBar filter * @group InhouseExtensions */
--list-groups gives me a bunch of authors(?), and that's about it.
If I had to guess, I'd say it probably has something to do with not defining a testsuite in
phpunit.xml.dist. That probably means I should create a second XML config file, but that's really just a guess.
Has someone gotten the
--group annotation going? If so, how did you do it?