Registry / petrkindlmann

petrkindlmann/qa-skills/unit-testing

Write effective unit tests with Jest, Vitest, or pytest. Covers the test-doubles taxonomy (stub/spy/mock/fake), Arrange-Act-Assert, coverage threshold configuration and CI gating, snapshot testing, fake timers, and mutation testing with Stryker/mutmut. Use when: "unit test," "Jest," "Vitest," "pytest," "mock," "coverage threshold," "test doubles," "mutation testing," "fake timers," "snapshot test." Not for: interpreting coverage reports or finding coverage gaps — use coverage-analysis; AI genera

Agent skill · version 0.0.0-main.1794524968.g6243425 · from petrkindlmann/qa-skills

Install

npx yarkr-cli add skill:petrkindlmann/qa-skills/unit-testing

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:petrkindlmann/qa-skills/unit-testing
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:petrkindlmann/qa-skills/unit-testing

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:petrkindlmann/qa-skills/unit-testing

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.