The folder structure of my application doesn't resemble a WAR file. Configuration files like web.xml are in a configuration folder, message bundle/resource files are in a resources folder, resource files stored as UTF-8, etc.. An Ant build is used to generate a correctly structured WAR.
Currently, an in-container testing framework (Cactus) is being used; however, this framework is no longer being maintained.
Are there out of container testing frameworks that can explode a WAR, instead of requiring that the folder structure of the source code match that of a WAR? If the framework supported mapping of actual location of files to their future WAR location, that would also be fine.
Are there in-container testing frameworks that are still maintained?