java - How to get Cucumber-JVM to work with Gradle and Guice? -


cucumber-jvm , gradle don't play along nicely. known, , workaround has existed time.

however, can't said workaround work more advanced tests using guice di container: cucumber not pick guice module configured in properties file, , maybe doesn't pick file itself, causing singletons configured multiple times.

my project conforms standard layout (src/test/java, src/test/resources), cucumber's cucumber-guice.properties residing in root of resource folder. inside ide of choice, intellij idea, tests run fine.

do know how make work?

i able fix problem applying scopes directly via annotations.


Comments