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

Reply via email to