Something like the following.
I would like a way to skip my dao tests in surefire. Trying to avoid overhead of defining Suites.
With CI I\'d like to have on
Let me extend Sean's answer. This is what you set in pom.xml:
pom.xml
nothing-to-exclude fast **/*Dao*.java org.apache.maven.plugins maven-surefire-plugin ${exclude.tests}
Then in CI you start them like this:
mvn -Pfast test
That's it.