cucumber/cucumber-jvm — pull request #190 by mattnathan (2012-02-02 11:24:40+00:00)
Title: For issue #189 - Fix constructor dependency resolution

This change ensures that the ObjectFactory is responsible for the finding of dependent classes that are needed to create Steps or Hook classes. Before it was the responsibility of the JavaBackend which was stepping on the toes of ObjectFactory implementations that could do that for themselves, like Guice or Spring.

I have added some tests that cover missing cases relating to Guice and have removed a test class for code removed.

I was unable to run a full install due to errors while running the groovy module (happened while running without changes too). All other tests pass as expected and this change fixes my current issue.