On Tue, May 27, 2008 at 1:57 PM, Jerome Lacoste
<[EMAIL PROTECTED]> wrote:
> On Mon, May 26, 2008 at 1:41 AM, Kaizer H. Sogiawala <[EMAIL PROTECTED]> 
> wrote:
>> A while back I came across a note about integration test - From a
>> single project POM you can only choose to execute either unit or the
>> integration test, not both. Could that be a factor in the outcome you
>> see?
>
> Are you sure of that ? Maven doesn't limit you. You can attach your
> mojos to the phase you want.
>
> I have a project under my eyes that binds surefire to the test phase,
> and easyb tests to the integration-test one.

The limitation is that there is only one testSourceDirectory in the
pom.  If you use Surefire in both the test and integration-test
phases, you have to configure includes and excludes to get it to use
the right code for each set of tests.

My guess is that 'easyb' is using a different default or configuration
for its test source directory.

-- 
Wendy

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

Reply via email to