Agent skill

nextest-targeted-testing

Use this to run the Rust suite quickly with `cargo nextest`, starting targeted and widening to full CI parity.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/testing/nextest-targeted-testing

SKILL.md

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 test in this repo.

Didn't find tool you were looking for?

Be as detailed as possible for better results