hi stephen, you should be able to do (at least) the same with the test-control-module (see [1] and [2]).
regards, gerhard [1] http://deltaspike.apache.org/documentation/test-control.html#JSF(viaMyFaces-Test) [2] https://github.com/CDIatWork/IdeaFork/blob/master/ideafork_ee6/src/test/java/at/irian/cdiatwork/ideafork/test/frontend/controller/IdeaForkBaseFlowTest.java http://www.irian.at Your JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German Professional Support for Apache MyFaces, DeltaSpike and OpenWebBeans 2016-06-25 21:41 GMT+02:00 Stephen More <[email protected]>: > 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 >
