cargo test -- --test-threads=1
can be used to run all tests consecutively. I'd like to label individual tests as being run consecutively, while still letting most tests run in parallel by default. Is there some kind of attribute for doing this, like the following?
#[test(consecutive)]
fn testing() {
let left = func1();
let right = 5;
assert_eq!(left, right);
}