I'm currently looking into approaches for creating automated unit tests for any new code created in our web based application. We are running JSF 2.0, Richfaces 3.3 and using JRE1.6.
I'd be interested in hearing opinions on what people have used and would recommend? Advantages/Disadvantages? Difficulty to implement? Community support and documentation? Etc.
I have had a look at JSFUnit and it seems quite compressive, but would like to get opinions before I go ahead and start using it.
Thanks
JSFUnit is indeed the typical approach. I, however, have used Selenium for functional testing, and it worked fine.
The thing is, in many cases the front-end is more easily tested in terms of functional scenarios, rather than units.