# Test

> Run the full test suite and confirm coverage meets the floor before shipping. Use in the Verify phase after review. Adds missing tests for uncovered acceptance criteria.

- Skill: `vasuag09/test` (Agent Skill)
- Install (CLI): `npx skillmds@latest add vasuag09/test`
- Raw SKILL.md: https://api.skillmd.com/api/skills/vasuag09/test/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: vasuag09 (https://skillmd.com/u/vasuag09)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/vasuag09/test

---


# /test — suite & coverage gate

Goal: every acceptance criterion is covered and the suite is green.

## Do this
1. Detect the runner from the repo (vitest/jest/pytest/...) — don't assume.
2. Run the **full** suite (not just the files you touched) to catch regressions.
   Run long suites inside tmux.
3. Run coverage. Compare against the spec's acceptance criteria:
   - Any criterion without a test → delegate to `harness-claude:tdd-guide` to add it (test-first).
   - Coverage < 80% on changed code → add tests for the gaps.
4. For web, add/refresh e2e for any critical flow the change affects (Playwright);
   add visual regression for visual-heavy UI.
5. Fix the implementation, not the test — unless the test is wrong.

## Exit criterion
Suite green, coverage ≥ 80% on changed code, every acceptance criterion has a test.
Then `/harness-claude:verify`.

