Cucumber JVM for Scala with Guice & Cucumber JUnitRunner? -
we using cucumber jvm scala , application grows nice cucumber-guice in picture well.
the problem can't see useable examples/tutorials/documentation on how it.
i have working @runwith(classof[cucumber]) runcukestest class, kicks off, finds .feature files, , stepdefinition classes. problem cucumber class instantiates step definitions without guice, , injections stay null, causing tests fail.
maybe there way configure cucumber use guicefactory , cucumber-guice.properties in configuring cucumber-guice?
i tried figure out how may work cucumber-scala library. while browsing sourcecode got imression dependency injection not designed in library. unfortunately affirmed following discussion:
https://github.com/cucumber/cucumber-jvm/issues/469
there might way add dependencies using cake pattern...
Comments
Post a Comment