CI Perf Lint

prefer-nextest-for-heavy-rust-tests

What it flags

Flags heavy-looking Rust test jobs that still run cargo test without visible cargo-nextest adoption.

Why it matters

cargo-nextest is designed as a faster CI-oriented Rust test runner. It can improve wall-clock time for larger workspaces, multi-binary test suites, and integration-heavy jobs by using a different execution model from plain cargo test.

The rule does not suggest blindly replacing every Rust test command. Small crates and simple unit-test jobs may not benefit enough to justify a migration.

Current heuristic

The rule requires all of the following:

Heavy Rust test signals include:

When to ignore it

Ignore this finding when:

Suggested verification

Sources