On 11/24/06, Julien HENRY <[EMAIL PROTECTED]> wrote:

I want to execute jetty:run at the pre-integration-test phase and stop it (like 
Ctrl+C) at the post-integration-test phase.

In addition to the plugin that has already been mentioned, Cargo also
has a Java API that can be very useful for integration testing.

Instead of binding plugin executions to lifecycle phases, you can
start and stop containers from Java code, for example in JUnit
TestSetup class.

Here's an example:
http://shale.apache.org/shale-test/apidocs/org/apache/shale/test/cargo/CargoTestSetup.html

http://svn.apache.org/repos/asf/shale/framework/trunk/shale-test/src/main/java/org/apache/shale/test/cargo/CargoTestSetup.java

--
Wendy

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

Reply via email to