This content has been marked as final.
Show 1 reply
-
1. Re: Integration testing of @ViewScoped JSF actions
mjobanek Nov 25, 2015 7:17 AM (in response to oliverschell)Hi,
AFAIK the producers (and similar advanced cdi features) included directly within the test are not supported by Arquillian. I would recommend you to create a producer in a separated class and add this class (with the aid of ShrinkWrap) into the deployment. Then, theoretically, you should be able to inject the produced bean within the test class.
Regarding to @ViewScoped JSF action bean - have you considered the UI tests?
Matous