We have a JSF 2.0 project with heavy use of AJAX (provided by OpenFaces tag library). Our project is very cool and does many useful things, and we love it. However there is one thing about it that frustrates us - our project doesn't have integration tests. At all. It has selenium tests of course, but they cover the project only from user's perspective. What I'd love to have are some integration tests which would deal with AJAX-related logic. But I'm not sure how to achieve this... Things that are capturing my mind are JSFUnit and HTTPUnit, but I wonder if there is something better for AJAX-based JSF project. Does anyone have any concerns about this? Thanks!
You could try FireUnit or FireBugTest. I haven't tried either of these but they might work. I have always wished for a feature like this too.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With