-
-
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
Will Cucumber Java 8 runs outside constructor ? #1233
Comments
Given the current possibilities of Java 8 no. Perhaps with Java 9 we could use the repl but somebody will have to feel like building it. Are you certain you do not have these confused with cucumbers
Please check your implementation against the spring-txn example. If the problem persists please create a minimal complete verifiable example. Do keep the caveat emptor of How soon will my ticket be fixed? in mind though. Edit: Yes, the example is written using only annotations but |
thanks |
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. |
Hello,
I would like to use the Cucumber Java 8 lambda expressions
Like this : https://cucumber.io/docs/reference/jvm
This syntax is amazing, but runs inside constructor there are problems :
we cannot run @before and @after methods of JUnit
we cannot instantiate Spring context with @Autowired
Have you got a plan about that ?
Regards
The text was updated successfully, but these errors were encountered: