Closed bruceg closed 1 month ago
You mean you want the test summary even when all tests pass and there are warnings ?
Displaying the raw output works for me:
Can you try with another shortcut than ctrl-r or check with the log that it's correctly triggered (use BACON_LOG=debug bacon
) ?
You mean you want the test summary even when all tests pass and there are warnings ?
My expectation was that I would see in bacon
the same as I would see in the terminal (modulo headers and footers, of course), so yes. I frequently run tests with --nocapture
and use the console output from the tests to guide expected results.
Can you try with another shortcut than ctrl-r or check with the log that it's correctly triggered
I tried the same issue on a different computer and discovered that it does work. So, after comparing the two, I realized that I had never set up any keybindings on the failing computer, so C-R
was not set up. That fixes the issue with getting the test output and is, at least, a sufficient workaround.
I have the following job in my
bacon.toml
:In addition to the problematic behavior of #196, I see another glitch in the displayed output: If there are any warnings displayed by
cargo
, I only see the warnings and not the tests running, even though the tests do still run. PressingCtrl-R
to get the raw output makes no difference here. Without warnings, I see the fullcargo test
output showing all the test runs.So, with no warnings:
But with a warning: