If I create the function
#[test]
fn foo () {
dbg!("BAR");
println!("BAZ");
assert!(true);
}
And I run cargo test -v
or cargo test --verbose
I can confirm the test ran, but no output is shown. The words "BAR" and "BAZ" do not exist in the output.
When I read cargo test --help
, I see different options than in cargo --help
: it documents a -vv
option. But I don't see a difference with cargo --verbose test -vv
, nor cargo test -vv
.
I'm using cargo 1.63.0-nightly (4d92f07f3 2022-06-09)