cargo test: Don't re-run tests that already passed · Issue #10673 · rust-lang/cargo (original) (raw)
Problem
I have a large workspace in which there's a crate with several long-running property tests. This makes cargo test --workspace
take unreasonably long in the common case where those property tests haven't been touched.
Proposed Solution
Cache the test results, so that cargo test --workspace
can complete quickly in the common case where long-running tests haven't been touched.
Notes
Related work:
- Caching of test results has already been impl'd for compiletest: rust-lang/rust@c8e0d04 rustbuild: Don't re-run tests suites that already passed rust#36385