THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Info | ||
---|---|---|
| ||
Struts 2 Actions can be tested using either the JUnit or TestNG framework. It is used by the developer who implements unit tests in Java |
There are several approaches to unit testing Struts 2-based applications, whether using JUnit or TestNG. Two popular techniques are direct Action invocation and testing interceptors and result-types independently. We will demonstrate both approaches using JUnit 3.
...