# Testing

> Guide for Rust testing and Cargo usage. Use when writing unit or integration tests, configuring Cargo.toml, or running cargo commands.

- Skill: `vinnie357/testing` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add vinnie357/testing`
- Raw SKILL.md: https://api.skillmd.com/api/skills/vinnie357/testing/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: vinnie357 (https://skillmd.com/u/vinnie357)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/vinnie357/testing

---


# Rust Testing and Cargo

Unit tests, integration tests, Cargo.toml configuration, and common commands.

For test patterns, Cargo.toml configuration, and command reference, see `references/testing.md`.

## Anti-fabrication

This skill follows `core:anti-fabrication`. Every claim about `cargo test`/`cargo` command
behavior and Cargo.toml configuration is verified against the Cargo Book cited in
`sources.md` — not inferred from generic familiarity with the tool. Before asserting a
Cargo command or flag this skill and its references do not cover, check `cargo help` or the
installed Cargo version's documentation rather than guessing.

