On Dec 6, 2007 5:06 AM, Raymond Feng <[EMAIL PROTECTED]> wrote:

> Hi,
>
> We have been painful with running the web application tests manually a few
> days before a release. I think it would be beneficial to automate the
> tests
> as part of the maven build. To get it started, I checked in [1] an example
> to demonstrate how to use the cargo [2] maven plugin to automate the
> integration test of Tuscany web applications.
>
> The maven build now goes with the following steps:
> 1) package: generate the artifacts as a WAR
> 2) pre-integration-test: start the Jetty web server (embedded or external)
> and deploy the WAR to the server using Cargo
> 3) integration-test: run the integration test cases using surefire plugin.
> The test case should be the client program that talks to the web app
> 4) post-integration-test: stop the Jetty web server using Cargo
>
> Thanks,
> Raymond
>
> [1] http://svn.apache.org/viewvc?rev=601610&view=rev
> [2] http://cargo.codehaus.org/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> Hey Raymond, good thinking

What I'd like to do based on this is have maven run Sebastien's ant
generator plugin and then run the ant script to build the war file. I'll
have a play when I get time.

Simon

Reply via email to