Open maxcountryman opened 11 months ago
Hi there, I seem to be running into an issue which I suspect is related to https://github.com/xd009642/tarpaulin/issues/848.
In short, crates within a workspace which have defined doctests marked as rust,no_run or simply no_run are being executed by tarpaulin.
rust,no_run
no_run
tarpaulin
I'm invoking tarpaulin like this: $ cargo tarpaulin --workspace --run-types Doctests -olcov --all-features.
$ cargo tarpaulin --workspace --run-types Doctests -olcov --all-features
It's also worth pointing out that $ cargo test --workspace --all-features --doc works as expected (in other words, respect no_run.
$ cargo test --workspace --all-features --doc
Yeah the heuristics for the doc test exe name means that linking tests to their lines in the source code is a bit tricky. If you have a project you can link to I can have a look when I have some time
Hi there, I seem to be running into an issue which I suspect is related to https://github.com/xd009642/tarpaulin/issues/848.
In short, crates within a workspace which have defined doctests marked as
rust,no_run
or simplyno_run
are being executed bytarpaulin
.I'm invoking
tarpaulin
like this:$ cargo tarpaulin --workspace --run-types Doctests -olcov --all-features
.It's also worth pointing out that
$ cargo test --workspace --all-features --doc
works as expected (in other words, respectno_run
.