Hi Bob,

> -----Original Message-----
> From: Allison, Bob [mailto:[EMAIL PROTECTED]
> Sent: lundi 6 février 2006 14:04
> To: Maven Users List
> Subject: OT: Servlet 2.4/JSP 2.0 Testing
> 
> Does anybody know of a means to do unit testing of web servlets which
> are coded to the Servlet 2.4 specification and JSPs coded to the JSP 2.0
> specification?  Cactus doesn't seem to be there yet in any release I
> could find and I have been unable to build Cactus in a manner which
> would provide this capability (although it looks like it might be
> partially present).  I asked this question on the Cactus user list and
> have not gotten any responses so I thought I would try here and see if
> any Maven users have done anything like this.

AFAIK Alexander is working on a Cactus m2 plugin. Also you should be able to
use the Cactus cactifywar goal using the Antrun m2 plugin. Then you can use
the Cargo plugin to start/stop/deploy the cactified war.

You could try binding the cactification to the pre-integration-test phase
and then bind cargo:start also in the same phase (but define after so that
the order is preserved). One issue will be that the current surefire plugin
has no goal to run junit tests in the integration-test phase... 

But at least this is how I think it could be supported easily.

Thanks
-Vincent


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

Reply via email to