kennytm / cargo-kcov

Cargo subcommand to run kcov to get coverage report on Linux
127 stars 20 forks source link

Add support for --test-threads #51

Open dianpopa opened 2 years ago

dianpopa commented 2 years ago

We want to be able to specify to cargo-kcov the number of threads on which to run the tests. We are currently facing an issue where we see some intermittent fails in our cargo kcov testing and they seem to be caused by multiple tests being run in parallel. We have noticed that if we run cargo test --test-threads and then kcov on the binary, the number of failures is smaller.