> I haven't been successful at getting Surefire to run during 
> integration-test instead of test, but I have a couple of 
> questions out on [EMAIL PROTECTED] looking for ideas.

I've been lucky find a solution, but it took a bit of playing around.  The
key problem I was having was making sure that:

1) the tests were in src/it were compiled in addition to src/test
2) the integration tests were not executed during test as well as during i-t

To get around this, I ended up using two different patters

*Test.java
*IT.java

and placing both types of sources in the test directory (ignoring src/it for
now).

>From there, it's just a matter of binding surefire to the appropriate
lifecylce and and adding the appropriate filter to each execution.

BTW: a big +1 on out of the box execution of surefire during
integration-test on any tests in src/it.  This is much harder than it should
be.


David

> 
> --
> Wendy
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED] For 
> additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to