public marks

LINK

StrutsTestCase for JUnit

by jpcaruana & 2 others (via)
StrutsTestCase for JUnit is an extension of the standard JUnit TestCase class that provides facilities for testing code based on the Struts framework. StrutsTestCase provides both a Mock Object approach and a Cactus approach to actually run the Struts ActionServlet, allowing you to test your Struts code with or without a running servlet engine. Because StrutsTestCase uses the ActionServlet controller to test your code, you can test not only the implementation of your Action objects, but also your mappings, form beans, and forwards declarations. And because StrutsTestCase already provides validation methods, it's quick and easy to write unit test cases. StrutsTestCase is compliant with the Java Servlet 2.2, 2.3, and 2.4 specifications, and supports Struts 1.2, and Cactus 1.6.1 and JUnit 4.0. Please note that StrutsTestCase is no longer backwards compatible with Struts 1.0. The last release compatible with Struts 1.0 is StrutsTestCase v2.0.

Comments

No comment on this link yet.


PUBLIC TAGS
on this link

j2ee   java   JUnit   programmation   programming   struts   strutstestcase   test   web  

BY

jpcaruana
the 27/04/2007 at 13:59

Riduidel
the 12/05/2005 at 12:38

cadu
the 01/01/1970 at 01:00