I am trying to run kcov in a Rust project. This works well for regular tests, but I could not figure out how to get it to find doc tests.
Does it create rustdocany binaries that I can transfer in kcovto start coverage?
rustdoc
kcov
Rustdoc compiles the binaries in a temporary directory and runs them immediately:
https://github.com/rust-lang/rust/blob/acdd3b9f5a/src/librustdoc/test.rs#L248-L292
, TempDir , . , , kcov.
TempDir
Source: https://habr.com/ru/post/1629854/More articles:Error matrix rank matrix tensor matrix - pythonTensorflow - A convolute neural network with a custom dataset DOESN'T RECOGNIZE - pythonЯ хочу очистить кеши, когда мое приложение обновляется в PlayStore в Android? - androidUIPresentationController - can I update the presented frame of the presentation controller after the presentation? - iosAndroid: How to constantly update / transfer values from one activity to another? - androidКак разрешить "Определить и выбросить выделенное исключение вместо использования общего". - javaHow to find the maximum probability of a certain multidimensional normal logarithmic likelihood in R? - optimizationAn elegant and short (pythonic) way to find the smallest unused number - pythonWhy does std :: not1 () accept a parameter by const reference instead of a value? - c ++python 3.4 - understanding the temp variable in a list - pythonAll Articles