You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Victor Grazi <vg...@gmail.com> on 2011/05/18 19:19:37 UTC

How to run tests in jetty

Hi - I am wondering if there is any way to tell maven 3 to launch jetty and
then execute some unit testers, and finally tear down jetty?

What is the best way to do this?

Thanks Victor

Re: How to run tests in jetty

Posted by Tim Pizey <ti...@gmail.com>.
On 18 May 2011 18:19, Victor Grazi  wrote:
> Hi - I am wondering if there is any way to tell maven 3 to launch jetty and
> then execute some unit testers, and finally tear down jetty?
>
> What is the best way to do this?

http://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin
Automatic execution of the plugin

cheers
Tim

-- 
Tim Pizey - http://pizey.net/~timp
Centre for Genomics and Global Health - http://cggh.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: How to run tests in jetty

Posted by Greg Akins <an...@gmail.com>.
I'm not using Maven3, but am not sure that would change much.

I use Cargo to start the server and run functional tests.  The tests
run in Tomcat, but could run in any container that Cargo supports.

On Wed, May 18, 2011 at 1:42 PM, Yanko, Curtis <cu...@uhc.com> wrote:
> Google around, there are some recent articles about this using stuff
> like Failsafe and hooking into the Verify phase of the build lifecycle
>
> ________________________________
>
> Curt Yanko | Continuous Integration Services | UnitedHealth Group IT
> Making IT Happen, one build at a time, 600 times a day
>
>
>> -----Original Message-----
>> From: Victor Grazi [mailto:vgrazi@gmail.com]
>> Sent: Wednesday, May 18, 2011 1:20 PM
>> To: Maven Users List
>> Subject: How to run tests in jetty
>>
>> Hi - I am wondering if there is any way to tell maven 3 to
>> launch jetty and then execute some unit testers, and finally
>> tear down jetty?
>>
>> What is the best way to do this?
>>
>> Thanks Victor
>>
>
> This e-mail, including attachments, may include confidential and/or
> proprietary information, and may be used only by the person or entity
> to which it is addressed. If the reader of this e-mail is not the intended
> recipient or his or her authorized agent, the reader is hereby notified
> that any dissemination, distribution or copying of this e-mail is
> prohibited. If you have received this e-mail in error, please notify the
> sender by replying to this message and delete this e-mail immediately.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>



-- 
Greg Akins
http://twitter.com/akinsgre

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: How to run tests in jetty

Posted by "Yanko, Curtis" <cu...@uhc.com>.
Google around, there are some recent articles about this using stuff
like Failsafe and hooking into the Verify phase of the build lifecycle

________________________________

Curt Yanko | Continuous Integration Services | UnitedHealth Group IT 
Making IT Happen, one build at a time, 600 times a day
 

> -----Original Message-----
> From: Victor Grazi [mailto:vgrazi@gmail.com] 
> Sent: Wednesday, May 18, 2011 1:20 PM
> To: Maven Users List
> Subject: How to run tests in jetty
> 
> Hi - I am wondering if there is any way to tell maven 3 to 
> launch jetty and then execute some unit testers, and finally 
> tear down jetty?
> 
> What is the best way to do this?
> 
> Thanks Victor
> 

This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org