aspose file tools
The moose likes Struts and the fly likes JSF: Unit Testing managed beans Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Reply 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: 56554
    
  14

Moving to the Web App Frameworks forum.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About 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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: JSF: Unit Testing managed beans
 
Similar Threads
richfaces: prerender method in backing bean
Unit Testability ---JSF
JSF: Unit Testing managed beans
Advice please: JSF1.2 or JSF2
Can I use JUnit to test JSF based web application?