Ondřej Žižka píše v Po 12. 12. 2011 v 17:19 +0100:
Hi all,

Do we have any experience with Maven Failsafe plugin?
It's like surefire, but the test process is split to two goals:  running tests and checking the results.
To save you from some searching:
http://maven.apache.org/plugins/maven-failsafe-plugin/
http://maven.apache.org/plugins/maven-failsafe-plugin/integration-test-mojo.html
http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html


They're bound to different phases by default. Which leads me to:

Would it solve our "two executions" problem? Are there some gotchas?


Additional info from John Casey:

(17:07:11) OndrejZizka: Is new functionality added to surefire automatically added to failsafe too?
(17:07:17) OndrejZizka: like, groups, for instance
(17:07:27) OndrejZizka: and support for newer junit etc
(17:07:57) jdcasey: you mean code-wise? yeah, I think so
(17:08:21) jdcasey: they made a huge effort not long ago to synchronize those plugins, and IIRC they're in the same codebase in SVN now


Regards,
Ondra



Ondřej Žižka píše v Pá 02. 12. 2011 v 06:47 +0100:

1-3)  is currently done by a combination of modules and Surefire executions.
The problem with the later is that a failure in one execution prevents the successive from running.

_______________________________________________
jboss-as7-dev mailing list
jboss-as7-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev