You can use JMeter for these functional tests. Use the Cargo pluigin to
deploy your application 
Then use the maven-jmeter-plugin.
http://wiki.apache.org/jakarta-jmeter/JMeterMavenPlugin to run your
functional tests. 

On http://technology.amis.nl/blog/?p=2364 you can find an article to get
this plugin running. 

Regards, 

Robbrecht


 

-----Original Message-----
From: Farrukh Najmi [mailto:[EMAIL PROTECTED] 
Sent: donderdag 23 augustus 2007 0:54
To: Maven Users List
Subject: Junit testing of webapps in maven


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.

-- 
Regards,
Farrukh

Web: http://www.wellfleetsoftware.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]

Reply via email to