1 Reply Latest reply: May 5, 2011 12:48 PM by Aslak Knutsen RSS

Redirects

Todd Morrison Newbie

Is there a way to test externalContext.redirect() calls in Arquillian?

Maybe a view-id/current-url variable that can be teased from the container?

 

(I got really spoiled with the Seam Container tests that would let me post parameters and detect redirected view-id's during life-cycle phases)

  • 1. Redirects
    Aslak Knutsen Master

    I think JSFUnit supports this ? Arquillian has support for JSFUnit.

     

    (ps you need to grab the JSFUnit source and built it for it to work with Alpha5 (small spi changes, should be released soon))