We have multiple tests in multiple groups and we want to use tests group hierarchy using interface inheritance so we can specify if we wants to run e.g. all NiceTests or more specific NicePurpleTests.
Right now are tests @Category compared to surefire's group by class name.
If we have category hierarchy:
and surefire groups set to:
it runs only ReallyNiceTest, but not NicePurpleTestWithDots as wanted.
I've attached patch which fixed it for me.