Java web application testing framework

This is a testing framework desibned ( but not limited to ) for test JSF components and applications

Though best strategy for alow-level black box testing is to use a Mock objects, writing integration tests required a more real environment. On the other hand, running tests on the real web, or, even more, full JEE server takes a lot of the resoures and has a own limitations.

This framework designed as an intermediate solution. It contains staging Java Web server, where is real JSF framework running. This is at most Servlet 2.5 / JSP 2.1 compatible container, wich allows to run at most all JSF applications. But, in difference with real web container, it is "in process" only server. That does not have network connector, session management, does not process any configuration files etc. Its advantage for a unit testing:

Other important part of the framework is LocalWebClient, subclass of the HtmlUnit WebClient. In difference with the original client it always making local call to the staging server instead of real network protocol use. This client allows to use all HtmlUnit HTML and JavaScript testing features, even client side JavaScript test runs.

To make tests are easest, we provide the base abstract class for a Junit test with set of the template method for a fine virtual server tuning.