Apache Struts 2 Documentation > Home > FAQs > Can we use JUnit with the framework |

Apache Struts 2 Documentation
Can we use JUnit with the framework
Edit Page Browse Space Add Page Add News
Added by ctran, last edited by Don Brown on Nov 30, 2006 (view change)

Yes. Struts 2 provides built-in support for JUnit 3.8 via an abstract StrutsTestCase, which provides common Struts variables and setup code. To learn what approaches you can take when testing your Struts Actions, see How can we test Actions.