|
I believe the Maven test plugin ("surefire") supports both JUnit and TestNG at the same time. If so, then we could use the TestNG concept of "groups" (http://testng.org/doc/documentation-main.html#test-groups) to be able to specify groups for bugs that we expect to fail.
You can list excluded tests in the maven pom. If you are using TestNG, there is a way to configure that in the pom also. See the surefire plugin documentation here:
http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html I think that I prefer moving to TestNG; I like the idea of keeping the information about whether or not the test should run colocated with the test itself, rather than separated out into the pom.
We now have multiple mechanisms to suppress a test failure.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
OPENJPA-122is an example of a test case that should have been commitable before the behavior was implemented.