-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set Guice inject source from command line #881
Comments
Thank you very much ! |
You're welcome. It's already available as a snapshot: https://cucumber.io/docs/reference/jvm#snapshot-releases |
System property works for gradle/maven but I would like to have testcases working with different injectors in vanilla IDE. Here I posted my solution to define InjectorSource per individual testcase - http://stackoverflow.com/questions/35315963/cucumber-with-guice-multiple-guice-injector/40429150#40429150 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hi,
Setting
guice.injector-source
property from the command line would be very handy instead of specifying it in filecucumber-guice.properties
Scenario:
I have a test set for several configurations involving different injector sources. For now, on the CI builder I have to overwrite the guice properties for each configuration. And the issue also exists for developers: they have to modify this property file (in Eclipse for example, with command line support, a developer might create a different run configuration per test configuration without modifying any file)
Best regards,
Ludovic
The text was updated successfully, but these errors were encountered: