I prefer to start with Jetty wen I want to run the application manually, but use Tomcat through my automated build and test through Cargo. This way I can easily test against 2 different containers.
--- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design, Mentoring & Agile Consulting p. (866) BLiNC-411: (254-6241-1) f. (415) 685-4233 Website: http://baselogic.com Linked IN: http://linkedin.com/in/mickknutson Vacation Rental: http://tahoe.baselogic.com --- On Thu, Jun 18, 2009 at 1:32 PM, Stephen Connolly < [email protected]> wrote: > you can do this with jetty using the failsafe maven plugin to run the tests > > Sent from my [rhymes with myPod] ;-) > > > On 18 Jun 2009, at 17:54, Tanner Perrien <[email protected]> wrote: > > >> I have a web application that I would like to be able to test once it's >> deployed and running on Tomcat. Is there a way to embed all of this inside >> a >> maven build? The process would go like this: >> >> 1. Start maven >> 2. Maven would deploy WAR to Tomcat >> 3. Tomcat would be told to initialize the new WAR file >> 4. Tests would be run against the now running web app >> 5. Maven would report one way or the other on the tests >> >> Has this been done? >> -- >> View this message in context: >> http://www.nabble.com/Testing-a-Tomcat-deployed-servelet-instance-tp24095328p24095328.html >> Sent from the Maven - Users mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
