Cargo-nextest: 3x faster than cargo test, per-test isolation, first-class CI

nexte.st

87 points by nateb2022 3 days ago


sunshowers - 4 hours ago

Thanks for posting about this! I'm the main author of nextest, and it represents my best foot forward for how Rust testing should be done. Happy to answer questions though I might be a bit intermittent.

weinzierl - 2 hours ago

The "execution model" page[1] is documentation at its best!

It answered 90% of the questions I had at the monent. Thank you!

[1] https://nexte.st/docs/design/how-it-works/

jstrong - 13 minutes ago

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?

mohsen1 - an hour ago

I love nextest. without it my CI could take hours

https://github.com/tsz-org/tsz/actions/runs/29002057457/job/...

watch it running 32.5k unit tests without breaking a sweat!

satvikpendem - 3 hours ago

I love nextest, it's been great. This along with bacon catches a lot of issues.

esafak - 5 hours ago

Anybody using this in production?

edit: Thanks, will try!

patates - 4 hours ago

I somehow tried to make sense of the name as a superlative form of "next". Perhaps next-test would have been fine?