mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00

Make it more clear which module is being tested when running cargo test I recently asked in zulip if this is a good idea, as I find it hard to find the module thats being tested from the complex path with the hash. Output of `cargo test`: ``` 2021-02-21 13:29:33 I > ~/repos/cargo/target/debug/cargo test Finished test [unoptimized + debuginfo] target(s) in 0.42s Running unittests (target/debug/deps/test_tests-759130ea61f71571) running 1 test test tests::unit_test ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests2/lib.rs (target/debug/deps/integration_tests-6b7f9fcd1721f083) running 2 tests test tests2_lib ... ok test second_test::tests2_second ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/lib.rs (target/debug/deps/lib-d2be6d29597c2790) running 2 tests test second_test::tests_i_am_run_twice ... ok test tests_lib ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s ... ```