Tests Struts2 struts.xml with simple junit

460 Views Asked by At

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.

1

There are 1 best solutions below

1
lschin On BEST ANSWER

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.