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

Call all formatters, also when using the IntelliJ's internal formatter. #842

Merged
merged 1 commit into from
Mar 18, 2015

Conversation

brasmusson
Copy link
Contributor

The IntelliJ's internal formatter does not implement the startOfScenarioLifeCycle and the endOfScenarioLifeCycle methods. The current handling of this has the side effect, that all other formatters (after the IntelliJ one in the plugin list), will not receive calls to these methods, see #803.

This PR changes the handling of exceptions from the the startOfScenarioLifeCycle and the endOfScenarioLifeCycle methods of formatters, so that also in this case all formatters will receive calls to these methods.

Fixes #803.

The IntelliJ formatter does not implement the startOfScenarioLifeCycle
and the endOfScenarioLifeCycle methods. Also when it is throwing an
exception on these methods, all other formatters used need to be called
on these methods.
@brasmusson brasmusson force-pushed the formatter-error-handling branch from d88aa0f to 1e573f5 Compare March 15, 2015 20:09
@aslakhellesoy
Copy link
Contributor

LGTM!

@brasmusson brasmusson merged commit 1e573f5 into cucumber:master Mar 18, 2015
brasmusson added a commit that referenced this pull request Mar 18, 2015
Merge #842 "Call all formatters, also when using the IntelliJ's
internal formatter."
@coveralls
Copy link

Coverage Status

Coverage increased (+100.0%) to 100.0% when pulling 1e573f5 on brasmusson:formatter-error-handling into 3fc886e on cucumber:master.

@brasmusson brasmusson deleted the formatter-error-handling branch October 26, 2016 06:11
@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.

Exception in one formatter prevents other formatters from working
3 participants