nextest-rs / nextest

A next-generation test runner for Rust.
https://nexte.st
Apache License 2.0
2.13k stars 92 forks source link

Final output is missing informations included in immediate output #521

Closed poliorcetics closed 2 years ago

poliorcetics commented 2 years ago

I have nextest configured to run with immediate-final on failure.

In immediate output, I see the following:

     SIGSEGV [   0.014s]                         my-crate tests::my_test
--- STDOUT:                                      my-crate tests::my_test ---
running 1 test

In the final output I see:

--- STDOUT:                                      my-crate tests::my_test ---
running 1 test

The reason for failure SIGSEGV has been lost. On a small crate with few tests it's okay, but on one with pages and pages of them, it's easily lost and makes finding out why the test failed less convenient.

sunshowers commented 2 years ago

Thanks for the report! I agree that this is suboptimal. Will put up a fix shortly.

poliorcetics commented 2 years ago

Thanks a lot !