You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
running
cargo test -- --nocapture
orenv RUST_TEST_NOCAPTURE=1 cargo test
does not output anything printed withprintln!
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?
The text was updated successfully, but these errors were encountered: