Sent from my [rhymes with tryPod] ;-)

On 4 Jan 2010, at 18:37, Paul Benedict <pbened...@apache.org> wrote:

Stephen,

On Mon, Jan 4, 2010 at 11:43 AM, Stephen Connolly
<stephen.alan.conno...@gmail.com> wrote:
1. Move failsafe-maven-plugin to
https://svn.apache.org/repos/asf/maven/surefire/trunk/maven-failsafe-plugin
2. Refactor maven-surefire-plugin taking the code that is common with
failsafe into common module
3. Refactor maven-failsafe-plugin to use the common module.
4. Refactor maven-surefire-reporting-plugin to move the xml results
parser into the common module
5. Refactor Failsafe's verify mojo to use the xml results parse from
the common module.

Some additional wishes:
* Lock down the Failsafe plugin in the super pom

I'm fine with that


* Bind the Failsafe plugin to the verify phase

you'd need to bind to both integration-test and verify

that "could" break existing builds, but more importantly, this has nothing to do with releasing surefire, and more to do with maven- core... write your own proposal ;-)

(I'd give it a +1 mind you)


* To this point, "Ignore Unit Test Failures and run the integration
tests", there's no point in running the latter if the former fail. I
hope integration tests can simply be skipped if the unit tests fail,
which will then lead to the verify phase and the build will fail.

if I add a new feature with test driven development, my tests will be failing for the new feature, but I want to check the integration tests as I add the code for the new feature.

by default maven should stop the build if the unit tests fail. but it is a valid use case to run the integration tests even if the unit tests fail, and running the integration tests requires use of the lifecycle unlike unit tests where you can just invoke surefire:test because we use the pre- phase to set up our test



Paul

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to