Apache Struts 2 Documentation > Home > FAQs > Can we use TestNG with the framework |
Yes. Struts 2 provides built-in support for TestNG via an abstract TestNGStrutsTestCase, 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.