On 5/6/07, Morgovsky, Alexander (US - Glen Mills)
<[EMAIL PROTECTED]> wrote:

May someone please tell me what I need to add to the POM to run
integration tests?  In which element do I need to declare the location
of the integration test .java files?  Which plugin do I need to add to
the <plugins> section to run the integration tests?  Thanks.

The lifecycle has phases for integration testing, but the support
isn't very good yet.

I don't know of any plugins that use the integration test phases by
default, so getting it to work usually involves binding various
plugins to phases.  For example, start a container, deploy an app, run
tests, stop the container.

There is only one test source directory per module, so the best advice
is to have a separate module for the integration tests.

There is some info here, feel free to add more:
http://docs.codehaus.org/display/MAVENUSER/Maven+and+Integration+Testing

--
Wendy

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

Reply via email to