Rust testing

From Jxck/sptth · View interactive version

Rust testing is an AI agent skill from the GitHub repository Jxck/sptth. Use when adding or modifying tests. Ensures behavior changes are covered with focused tests and fast feedback.

How to use this skill

Skill file

rust-testing Skill

Use this skill when adding or modifying tests in this repository.

Goal

Ensure behavior changes are covered with focused tests and fast feedback loops.

Test Strategy

  1. Unit tests for pure logic and validation helpers.
  2. Integration-like checks for command-level behavior when practical.
  3. Regression tests for security-sensitive fixes.

What to Test

Rules

Commands

cargo test -q
cargo check --workspace
cargo run -p xtask -- fmt-check

Done Criteria

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.