How to run tests in jetty

2011-05-18 Thread Victor Grazi
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

2011-05-18 Thread Yanko, Curtis
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:vgr...@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-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: How to run tests in jetty

2011-05-18 Thread Greg Akins
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  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:vgr...@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-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>



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

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



Re: How to run tests in jetty

2011-05-18 Thread Tim Pizey
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-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org