2

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.

Roman C
  • 49,761
  • 33
  • 66
  • 176
Andy
  • 8,841
  • 8
  • 45
  • 68

1 Answers1

2

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.

lschin
  • 6,745
  • 2
  • 38
  • 52
  • looks cool, but I want something I can turn into a junit. I will use this to fail my hudson builds, so the people who break it get emails. Its not for me. – Andy Apr 11 '11 at 19:53