Thursday, September 23, 2004

ONJava.com: Unit Test Your Struts Application

ONJava.com: Unit Test Your Struts Application: "Unit Test Your Struts Application
by Lu Jian
09/22/2004

Unit testing is an important part of a good development process. Although there are many unit testing frameworks and technologies, such as JUnit, Cactus, EasyMock, HttpUnit, and so on, developers often find that it is difficult to unit test their Struts applications.

This article introduces StrutsUT, a simple extension to the Cactus framework, to help solve this problem. It provides two solutions to unit test Struts applications: a 'traditional' solution and one based on AspectJ. Developers can choose either for their convenience."

No comments: