Skip to content
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

V1.3.x: Support the cucumber-reporting tools also when using Scenario Outlines #700

Merged

Conversation

brasmusson
Copy link
Contributor

From reading the discussion in cucumber/gherkin#165, it is clear that people are pretty interested in being able to use the cucumber-reporting tools also together with Cucumber(-Ruby), see for instance comment1, comment2 and commen3 (the cucumber-reporting was initially developed to be used on Jenkins together with Cucumber-JVM).

The biggest obstacle to use it with Cucumber(-Ruby) is the very limited amount of information that end up in the JSON report for Scenario Outlines; no results, only the un-instantiated step (instead of the intantiated steps that actually was executed). One result of this problem is that the cucumber-reporting tools report "Result was missing for this step" (for the in-instantiated steps which are the only steps for the Scenario Outline included in the JSON report).

This PR changes the generated JSON report for Scenario Outlines when using the --expand option, to something the the cucumber-reporting tools can work on (that is, the same that Cucumber-JVM would have generated).

Fixes cucumber/gherkin#165.

@DoubleJ2011
Copy link

seems work for me, appreciate for the solution.

@brasmusson
Copy link
Contributor Author

Rebased the PR so it merges cleanly with the latest changes in v1.3.x.

mattwynne added a commit that referenced this pull request Aug 5, 2014
V1.3.x: Support the cucumber-reporting tools also when using Scenario Outlines
@mattwynne mattwynne merged commit b515c89 into cucumber:v1.3.x-bugfix Aug 5, 2014
@brasmusson brasmusson deleted the json-formatter-outline-expand branch August 5, 2014 15:59
brasmusson referenced this pull request Aug 6, 2014
Remove duplicate scenarios and add @wip-new-core to the outline expand
scenario moved from the v1.3.x branch.
brasmusson added a commit that referenced this pull request Aug 12, 2014
Remove @wip-new-core from scenarios passed by this.
The change from #700 is merged and working in both the v1.3.x branch and
in the master branch, so now it is time to close cucumber/gherkin#165.
@lock
Copy link

lock bot commented Oct 25, 2018

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.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants