Fast loop
- Rust-only (CI-like profile):
npm run test:rust
Target a subset
NPM passes args through after --:
-
Filter by substring (common case):
npm run test:rust -- <substring>
-
If you need exact names, list tests:
cargo nextest list --cargo-profile ci
-
If you need test binary args (e.g.,
--nocapture):cargo nextest run --cargo-profile ci <filter> -- --nocapture
Strategy
- Start as narrow as possible (one failing test), then widen.
- After fixing the immediate issue, run the full suite:
npm test(Rust + UI)npm run smoke
Policy
- Do NOT use
cargo testin this repo.
微信扫一扫