Closed
Description
Currently writes to stdout are redirected when running tests. However, in some cases it could be useful to allow writing to stdout. For instance, I was writing a wrapper for a C library and got a segment fault error. This caused my test to fail abruptly, as a result of which no useful output could be seen, since stdout was captured and the test wouldn't print the logs unless it failed normally.
I was able to get around this using std::io::stdio::stdout()
, but that's not ideal.
Metadata
Metadata
Assignees
Labels
No labels