File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes JSF: Unit Testing managed beans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "JSF: Unit Testing managed beans" Watch "JSF: Unit Testing managed beans" New topic

JSF: Unit Testing managed beans

dave sag
Ranch Hand

Joined: Feb 17, 2003
Posts: 47
We are migrating a small inhouse webapp from struts to JSF and would realy benefit from some unit testing of the kind offered by StrustTestCase. I have googled a bit but with no luck so far - what are JSF users using to unit test their managed beans?
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63865

Moving to the Web App Frameworks forum.

[Asking smart questions] [About Bear] [Books by Bear]
James Holmes
Ranch Hand

Joined: Jan 06, 2004
Posts: 64
Hi Dave,

There is a project called jsftest that aims to provide unit testing for JavaServer Faces. I'm not sure how complete the project is or what its state is, but it's worth looking into.

Hope that helps,

I agree. Here's the link:
subject: JSF: Unit Testing managed beans
It's not a secret anymore!