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

Handle hook output appropriately in the Pretty formatter #738

Merged
merged 3 commits into from
Sep 14, 2014

Conversation

brasmusson
Copy link
Contributor

Currently the Pretty formatter are delaying the output from hooks, see the failing test.

For the Pretty formatter it is important that the output (puts) from
After/AfterStep hook arrive before the call to after_table_row, and
that the exceptions from from After/AfterStep hooks arrive after the
call to after_table_row.
@brasmusson brasmusson merged commit 66c9c82 into master Sep 14, 2014
brasmusson added a commit that referenced this pull request Sep 14, 2014
@brasmusson brasmusson deleted the pretty-formatter-hook-output branch September 14, 2014 14:32
@brasmusson
Copy link
Contributor Author

In case of Scenario Outlines, it is really important for the Pretty formatter that the hook output (calls to formatter.puts) arrive before the call to formatter.after_table_row, and really, really important the the hook exceptions arrive after the call to formatter.after_table_row. So ... well the complexity of legacy_formatter was not exactly reduced.

@mattwynne
Copy link
Member

On 14 Sep 2014, at 15:39, Björn Rasmusson [email protected] wrote:

So ... well the complexity of legacy_formatter was not exactly reduced.

:D

@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.

2 participants