JSFUnit: In-container testing for JSF applications
JSFUnit is a test framework for JSF applications. It is designed to allow complete integration testing and unit testing of JSF applications using a simplified API. JSFUnit tests run inside the container, which provides the developer full access to managed beans, the FacesContext, EL Expressions, and the internal JSF component tree. At the same time, you also have access to parsed HTML output of each client request.
Other Helpful Links
JSFUnit relies heavily on Apache Cactus and HtmlUnit. Here are web sites for each: