1 year ago
#384046
dsa
Executing cucumber test from custom module in quarkus
I am trying to execute cucumber test from custom/another module than test however facing issue.
java.lang.IllegalStateException: Unable to locate CDIProvider
at javax.enterprise.inject.spi.CDI.findAllProviders(CDI.java:121)
at javax.enterprise.inject.spi.CDI.getCDIProvider(CDI.java:82)
at javax.enterprise.inject.spi.CDI.current(CDI.java:64)
at io.quarkiverse.cucumber.CucumberQuarkusTest$CdiObjectFactory.getInstance(CucumberQuarkusTest.java:184)
Not sure how to provide CDI to custom module. Any help on this would be appreciated.
I am able to execute cucumber test from test module however I want to separate it from JUnits.
The code is attached in Git issue: https://github.com/quarkiverse/quarkus-cucumber/issues/38
cucumber
quarkus
0 Answers
Your Answer