nextest-targeted-testing
Use this to run the Rust suite quickly with `cargo nextest`, starting targeted and widening to full CI parity.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
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.
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-26
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!