On Friday 11 July 2008 Carlos Alonso wrote: > Hi All. > > I'm using Hudson integration environment and I've recently migrated my > scripts from ant to maven. Using ant, when some test cases failed, the > build was set to unstable and a test-results report was raised > indicating which tests failed and why. The problem is that using maven, > the build process is much simpler and maintainable, but, when some test > case fails, the whole build process fails. > > Any tip to solve the situation?
I guess you are using the maven-surefire-plugin, are you? Try setting the parameter testFailureIgnore to true in your module configuration, as explained on [0]. hth, - martin [0] http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html
signature.asc
Description: This is a digitally signed message part.
