
Alexander Jesse
(5380) JSFUnit introduction
Technical long talk 50 min
Tuesday, 2008-06-24, 14:00 - 14:50, Arena 6
Alexander Jesse - Credit Suisse (speaker)
Abstract
JSFUnit is approaching 1.0 release time. Time to take a look at it.
JSFUnit, which is developed by Stan Silvert and Dennis Byrne from JBoss, has
some features which set it apart from other testing tools in the JSF universe.
JSF-applications can easily be developed in modules and then be composed during
the build-step. But in this way some problems can surface which cannot be
detected in the single modules. For example each module could define a managed
bean with the name "myBean". The config of each module is in itself
coherent, but the composite application contains duplicate definitions. For this
JSFUnit contains some static tests.
The other important JSFUnit feature is its comprehensive greybox-testing. The
web-application is built and tested in a running container like it is done with
other webtest-frameworks. JSFUnit allows to assert the internal state of the
applicaiton and the JSF-infrastructure after the test by providing access to the
FacesContext.
In this presentation I aim at giving an overview of JSFUnit and its special
features. The presentation will also outline the current state of JSFUnit and
the plans of the development team.






