Hi

 

I'm fairly new to Struts 2

 

I'm looking for a way of unit testing Struts 2 action classes which are (for
example) ServletRequestAware.

 

Cactus (the old way I did it) does not appear suitable (or is it and I'm
missing something?) and HttpUnit does not seem to do the job either.  I can
test all of the parts of the class which are not aware using JUnit, but I
really want to test the methods that are using the HttpServletRequest.
Ideas would be gratefully accepted.

 

Cheers

 

Nick

Reply via email to