Read test strategy from specs/qa-spec.md and specs/specs.md.
Detect test framework from repo (Pest, PHPUnit, Jest, Vitest, Playwright, etc.).
Add minimal high-value tests:
happy path
validation/edge path
auth/permission path when applicable
Run the smallest relevant test subset first, then broader suite if needed.
Quality Bar
Tests are deterministic.
Assertions verify behavior, not implementation detail.
New tests fail without the fix and pass with it.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: erinrugas-artisan-agents-pest-testing3description: Testing Skill4---56# Testing Skill78## When to Apply9- User asks to add or fix tests.10- Changes require validation coverage.1112## Workflow131. Read test strategy from `specs/qa-spec.md` and `specs/specs.md`.142. Detect test framework from repo (Pest, PHPUnit, Jest, Vitest, Playwright, etc.).153. Add minimal high-value tests:16 - happy path17 - validation/edge path18 - auth/permission path when applicable194. Run the smallest relevant test subset first, then broader suite if needed.2021## Quality Bar22- Tests are deterministic.23- Assertions verify behavior, not implementation detail.24- New tests fail without the fix and pass with it.2526---27> Converted and distributed by [TomeVault](https://tomevault.io/claim/erinrugas) — claim your Tome and manage your conversions.28<!-- tomevault:4.0:skill_md:2026-04-13 -->
Run npx skillmds@latest add tomevault-io/erinrugas-artisan-agents-pest-testing in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Testing Skill It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.