I just want a basic Junit that that will test loading the configuration file struts.xml and making sure al开发者_运维问答l the classes can be found and such.
I'm using the struts junit 2.2.1 plugin.
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.
精彩评论