File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "JSF: Unit Testing managed beans" Watch "JSF: Unit Testing managed beans" New topic
Author

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
Marshal

Joined: Jan 10, 2002
Posts: 60045
    
  65

Moving to the Web App Frameworks forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
James Holmes
Author
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.

https://jsftest.dev.java.net/

Hope that helps,

James
http://www.jamesholmes.com/JavaServerFaces/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSF: Unit Testing managed beans
 
Similar Threads
richfaces: prerender method in backing bean
JSF: Unit Testing managed beans
Unit Testability ---JSF
Advice please: JSF1.2 or JSF2
Can I use JUnit to test JSF based web application?