StrutsTestCase for JUnit
Home PageCategories: Testing
Latest version: 2.1.3
Added 2006-05-18
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.
Built for Java |
Library |
Free or free version available |
Source code provided |