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

The RerunFormatter does not handle failures in background and scenario outline examples correctly #589

Merged
merged 4 commits into from
Oct 16, 2013

Conversation

brasmusson
Copy link
Contributor

The RerunFormatter does not handle failures in background and scenario outline examples correctly. The use of the line of the failed step works ok in case of ordinary scenarios, but to handle failures in background steps, in examples in scenario outlines and in hooks the line of the scenario needs to be used.

brasmusson and others added 4 commits October 13, 2013 10:53
Add failing tests for the handling of failures in background,
scenario outline examples and hooks in the RerunFormatter.
Move helpers to test formatters to TestHelper.
Fix the rerun formatters handling of failures in background,
scenario outline examples and hooks in the RerunFormatter.
Move all testing of the RerunFormatter to core.
Move helpers from CucumberPrettyFormatterTest to TestHelper, and
refactor to make the helper share implementation in TestHelper.
Simplify the RerunFormatter by taking advantage of the new methods
startOfScenarioLifeCycle and endOfScenarioLifeCycle in the Formatter
interface.
brasmusson added a commit that referenced this pull request Oct 16, 2013
@brasmusson brasmusson merged commit c591426 into cucumber:master Oct 16, 2013
@brasmusson brasmusson deleted the rerun-formatter-fixes branch October 16, 2013 19:00
@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.

1 participant