Thank you very much for all this informations guys.

++

Julien

----- Message d'origine ----
De : Wendy Smoak <[EMAIL PROTECTED]>
À : Maven Users List <[email protected]>
Envoyé le : Vendredi, 24 Novembre 2006, 17h41mn 48s
Objet : Re: Starting/Stopping Jetty for integration testing

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]








        

        
                
___________________________________________________________________________ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur 
Yahoo! Questions/Réponses 
http://fr.answers.yahoo.com

Reply via email to