struts2junitstrutsstruts2-config-browser

Tests Struts2 struts.xml with simple junit


I just want a basic Junit that that will test loading the configuration file struts.xml and making sure all the classes can be found and such.

I'm using the struts junit 2.2.1 plugin.


Solution

  • I recommend you to use the Config Browser Plugin of Struts2.

    Description :

    The Config Browser Plugin is a simple tool to help view an application's configuration at runtime. It is very useful when debugging problems that could be related to configuration issues.