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

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -