Using JUnit 4.8 and the new @Category
annotations, is there a way to choose a subset of categories to run with Maven\'s Surefire plugin?
For example I h
I had a similar case where I want to run all test EXCEPT a given category (for instance, because I have hundreds of legacy uncategorized tests, and I can't / don't want to modify each of them)
The maven surefire plugin allows to exclude categories, for instance:
NonSlowTests
org.apache.maven.plugins
maven-surefire-plugin
my.category.SlowTest