logoalt Hacker News

jstrongtoday at 9:07 AM2 repliesview on HN

seems like `cargo nextest run` just runs `--lib` tests by default? however, `cargo test` is not so slow if you do `cargo test --lib`. how do I get nextest to execute the doc tests, too?


Replies

sunshowerstoday at 3:04 PM

The benchmarks are against non-doctest cargo test runs. (But you should measure against your own project, of course!) Unfortunately Cargo doesn't provide enough information for nextest to run doctests reliably with.

mattstirtoday at 1:26 PM

It looks like doctests aren't supported: https://github.com/nextest-rs/nextest/issues/16