I am now trying to do the same thing with deltaspike-test-control-module-api, but I am receiving:
org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type Import with qualifiers @Default at injection point [BackedAnnotatedField] @Inject private org.Test.Import at org.Test.Import(Test.java:0) Is there a working example using deltaspike-test-control-module-api somewhere ? On Sat, Jun 25, 2016 at 4:59 PM, Ludovic Pénet <[email protected]> wrote: > I took a look at Jglue and did not understand what it does that deltaspike > test control does not > > https://deltaspike.apache.org/documentation/test-control.html > > Can you please explain me ? > > With kind regards, > > Ludovic > > > Le 25 juin 2016 21:41:37 GMT+02:00, Stephen More <[email protected]> > a écrit : >> >> I found a tool that allows me to JUnit4 test my CDI JSF backing beans >> http://jglue.org/cdi-unit/ ! >> Right now I know it supports javax.enterprise.context.SessionScoped and >> javax.faces.view.ViewScoped. >> It does not currently support >> org.apache.deltaspike.core.api.scope.WindowScoped :-( >> >> I opened up issue: https://github.com/BrynCooke/cdi-unit/issues/91 >> >> Can anyone help with a pull request to get DeltaSpike support into CDI-Unit >> ? >> >> -Thanks >> Stephen More >> >> > -- > Envoyé de mon appareil Android avec K-9 Mail. Veuillez excuser ma brièveté. >
