Hey everyone,
still me, the Rust newbie ;)
Coming from Ruby I use TDD quite heavily. For my toy rust project I've
setup my Makefile in such a way that it first compiles and runs a test
build before compiling the real executable. When trying to debug a failing
test I tried putting println!
The test runner captures stdout by default and prints it at the end of
the test run, but only if the test failed. This is intended to turn
down the noise of successful tests, especially the failing ones.
If you pass the --nocapture option to the test binary, it will disable
this behavior and
Thank you Alex!
On Tue, May 27, 2014 at 7:23 AM, Alex Crichton a...@crichton.co wrote:
The test runner captures stdout by default and prints it at the end of
the test run, but only if the test failed. This is intended to turn
down the noise of successful tests, especially the failing ones.