Hi,

I haven't tried running unit tests on webapps before, but I would suggest you take a look at selenium-maven-plugin:

http://mojo.codehaus.org/selenium-maven-plugin/index.html

It's for integration testing and that might be more appropriate for testing webapps :) You may want to look at Continuum's continuum-webapp-test module as an example.

Thanks,
Deng


Farrukh Najmi wrote:

I have recently started using maven-jetty6-plugin for my webapp project.
A common problem is that the webapp needs to be deployed in order for
the junit tests to work. At present I manually start jetty6 server using "maven jetty6:run" and then manually run the junit tests in a separate process.

What is the best solution in maven for automatically testing a webapp such that the web container gets started, webapp gets deployed / hot-deployed and junit tests run as and wehn required?

Thanks for some guidance on this.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to