This content has been marked as final.
Show 1 reply
-
1. Re: Req: JRUnit Session bean exampe
ssilvert Apr 18, 2008 9:37 AM (in response to sushant_3k)"sushant_3k" wrote:
Hi,
Can anybody post an example of how to test Session beans using JRUnit?
I assume you mean testing session-scoped managed beans with JSFUnit?
You just call JSFServerSession.getManagedBeanValue("#{my.el.expression}")
See more details on how to write tests here:
http://wiki.jboss.org/wiki/WritingJSFUnitTests
Stan