The Apache Maven Surefire site has the following example syntax to exclude tests from running:
<configuration>
<excludes>
<exclude>**/TestCircle.java</exclude>
<exclude>**/TestSquare.java</exclude>
</excludes>
</configuration>
This excludes classes, but if the test you want to exclude was in a class with a bunch of other tests - then every test in the class will be excluded, regardless of whether you only wanted to exclude the one test or not.
This doesn't seem very granular. I'd like to exclude just one test from a class that has multiple tests.
My question is: Is there a way using surefire to exclude tests at a test method level - not a class level?