I don't believe it's currently possible within the same build module.

We started discussing it on
http://docs.codehaus.org/display/MAVEN/best+practices+-+testing+strategies

-Vincent

> -----Original Message-----
> From: Wendy Smoak [mailto:[EMAIL PROTECTED]
> Sent: mardi 6 juin 2006 16:41
> To: Maven Users List
> Subject: [m2] Unit tests and integration tests in the same module?
> 
> [moved from [EMAIL PROTECTED]
> 
> Context:  We want to run both 'normal' unit tests, and integration
> tests that require a webapp to be deployed in a container, from the
> same module.
> 
> On 6/5/06, Brett Porter <[EMAIL PROTECTED]> wrote:
> > It *should* still be possible to achieve what you want currently (I
> > thought Vincent's chapter discussed that, but I don't might be
> > mistaken). It may take some effort, though, and I'm not sure of any
> > existing examples. The 'integration-test' phase was meant to be a
> > general hook to facilitate this where possible.
> 
> The problem I keep running into is that there is only one
> <build>/<testSourceDirectory>, and there is no
> <profile>/<build>/<testSourceDirectory> in the model.  If that
> existed, it seems like you could get another execution of Surefire
> using a second source directory.
> 
> You're hinting that it's possible, though... what am I missing?
> 
> --
> Wendy
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


        

        
                
___________________________________________________________________________ 
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son 
interface révolutionnaire.
http://fr.mail.yahoo.com

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

Reply via email to