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

nocapture not working for succeeding tests #127

Open
JeanMertz opened this issue Sep 10, 2018 · 0 comments
Open

nocapture not working for succeeding tests #127

JeanMertz opened this issue Sep 10, 2018 · 0 comments

Comments

@JeanMertz
Copy link

running cargo test -- --nocapture or env RUST_TEST_NOCAPTURE=1 cargo test does not output anything printed with println! if the test succeeds. If I make the test fail, it prints both stdout and stderr, and I can see the expected output in the stdout part of the log.

I found some references to nocapture in the source, but haven't been able to get it to work.

Any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant