We have a JSF 2.0 project with heavy use of AJAX (provided by the OpenFaces tag library). Our project is very cool and does a lot of useful things, and we love it. However, there is one thing that disappoints us - our project does not have integration tests. Generally. Of course, these are tests for selenium, but they cover the project only from the point of view of the user. I would like some integration tests to deal with AJAX related logic. But I'm not sure how to achieve this ... The things that capture my mind are JSFUnit and HTTPUnit, but I'm wondering if there is anything better for an AJAX-based JSF project. Anyone have concerns about this? Thanks!
java ajax unit-testing jsf jsf-2
Denis kniazhev
source share