StepDefinitionReporter fails to report Java8 Lambda StepDefinitions
See original GitHub issueOk so I feel silly asking about this here, but I can’t workout why the StepDefinitionReporter
isn’t triggered anymore when I follow the steps to implement my plugin here:
https://blog.jdriven.com/2019/01/cucumber-jvm-plugin/
This is in a new project, using recent (4.2.0, 4.2.6, 4.3.1) versions of cucumber-jvm. Somehow the @Override public void stepDefinition(StepDefinition stepDefinition) {}
isn’t triggered, and I can’t find out why. @mpkorstanje we’ve both seen this work before, any idea why?
The only noticeable difference between this new project and my previous attempts, is that this project uses the cucumber.api.java8.Nl
together with #language: nl
.
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (9 by maintainers)
Top Results From Across the Web
Cucumber, Java8: find usage of step defined by lambda ...
java was created by the Cucumber plugin by pressing ALT+ENTER while selecting a step in the feature file. The feature file was shown...
Read more >How to Generate Cucumber Reports in Framework - Tools QA
Steps to generate Junit XML Report in Cucumber. ... As we know that Cucumber is a BDD framework, it does not have a...
Read more >[Cucumber-Java8] How to reuse step defs? - Google Groups
I'm using cucumber-java8 to create my step definitions (using lambda expressions ... to specify a list of step definition classes) , I got...
Read more >Step by Step Implementation Cucumber BDD Framework ...
Step 2: Create Feature file and write feature. ... Now go to stepDefinitions package >loginSteps.java class and implement all the test steps ......
Read more >Part 11 - New feature in Cucumber-Java 8 - YouTube
In this video we will discuss about the new feature of Cucumber- Java 8 and how we can leverage the power of Lambda...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I am going to call it a day. I’ll have a look tomorrow.
Let’s consider that separately. I think the current json structure would give us problems in the future. I’d have to consider it more carefully.