Hi Eric, > -----Original Message----- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of BURGHARD Éric > Sent: vendredi 20 janvier 2006 16:27 > To: [email protected] > Subject: functionnal testing > > Hi, > > Is there a standard way to do functionnal testing with m2 ? > > I just wrote a quick and dirty mojo for that, but i think there should be > a > better way: I just spawn a jetty6:run in a thread, wait until the > container > is ready, run a set of tasks (mojos that effectively do html testing) with > the plugin manager, and at the end, interrupt the container. > > AFAIK the lifecycle fork mode was unusable for that. What i need is a > parallel mode instead. > > WDYT ?
Another solution would be to use Cargo and its m2 plugin (http://cargo.codehaus.org/Maven2+plugin). It starts the container in a separate thread so you can chain different actions after the container is started (using the <wait>false</wait> mode). -Vincent --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
