5 Replies Latest reply: Nov 23, 2010 5:05 PM by Stan Silvert RSS

More Arquillian and JSFUnit integration

Stan Silvert Master

Hi all,

 

I've just finished documentation for using injection with Arquillian and JSFUnit.  It's all ready for you to try out!  This greatly simplifies your test code by allowing JSFSession, JSFClientSession, and JSFServerSession to be automatically injected into your tests.

 

@Test
@InitialPage("/index.jsf")
public void MyTest(JSFServerSession server, JSFClientSession client) {
   // my test code
}

 

Here is some early documentation to get you started.  The goal is to eliminate a lot of boilerplate code and make JSFUnit tests easier to read.

 

Thanks in advance for the feedback!!

 

Stan