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

Make standard out non buffered #721

Merged
merged 2 commits into from
Jun 3, 2014
Merged

Make standard out non buffered #721

merged 2 commits into from
Jun 3, 2014

Conversation

danielhodder
Copy link

When using the pretty appender (any appender that writes to standard out should have the same problem) the output comes in fits and spurts. This is really annoying if you are trying to follow the tests. The problem was that the default appender was a Writer not a Stream.

Previously the default output was an OutputStreamWriter. Since this is buffered
it resulted in test output being buffered making watching the test output in
real time impossible. Now we use a PrintStream which is the type that the
System.out stream is anyway, while still retaining the fix intoduced to make
the Appender's close() method a no-op.
@aslakhellesoy
Copy link
Contributor

LGTM. Can you fix the formatting? See CONTRIBUTING.md.

@danielhodder
Copy link
Author

Fixed the indenting in the test. Was there anything else I needed to fix up?

dkowis added a commit that referenced this pull request Jun 3, 2014
@dkowis dkowis merged commit ab81ffd into cucumber:master Jun 3, 2014
@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