|
Ran
|
Files
39
|
Run time
1s
|
Badge
README BADGES
|
push
github
Capture names as full paths (#165) The tests emitted by rustc use the full path, not including the crate name, as the name for the test ([impl](https://github.com/rust-lang/rust/blob/ec6f62244/compiler/rustc_builtin_macros/src/test.rs#L66)). From what I can tell there's no way to get this path exactly from rust, but we can get the full path including crate name from [`std::module_path`](https://doc.rust-lang.org/std/macro.module_path.html). We can then find the first occurence of `::` and grab whatever follows. Fixes https://github.com/assert-rs/libtest2/issues/154.
543 of 1692 relevant lines covered (32.09%)
0.72 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|