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

Print dgoss info/error to stderr #291

Merged
merged 1 commit into from Sep 21, 2017

Conversation

Projects
None yet
3 participants
@aelindeman
Contributor

aelindeman commented Sep 21, 2017

When using a different formatter (like json or junit), having the dgoss debug messages print to stdout along with the actual goss test result output is annoying when redirecting the output to a file, e.g. dgoss run my-container > results.json. This simply changes the echo functions to print to stderr instead.

@aelsabbahy

This comment has been minimized.

Show comment
Hide comment
@aelsabbahy

aelsabbahy Sep 21, 2017

Owner

Makes sense.

Thanks for the contribution!

Owner

aelsabbahy commented Sep 21, 2017

Makes sense.

Thanks for the contribution!

@aelsabbahy aelsabbahy merged commit 4f1f0e4 into aelsabbahy:master Sep 21, 2017

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@shreyasgune

This comment has been minimized.

Show comment
Hide comment
@shreyasgune

shreyasgune commented Sep 21, 2017

Woohoo!

@aelindeman aelindeman deleted the aelindeman:dgoss-stderr branch Sep 21, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment