Unit Testing

Writing, refactoring, reviewing, or running unit tests — fast, isolated checks that exercise one small exported contract from the caller's point of view. Triggers on mocks and fakes, fixtures, schema and codec tests, snapshot choices, coverage questions, assertion design, spec naming, or whether a behavior belongs in a unit test at all. For runner configuration and mocking APIs, use that runner's own capability — Jest, Vitest; for browser or device journeys, an end-to-end-testing one; for verification-evidence adequacy, a quality-assurance one. Covers refactor-surviving design, boundary fakes, and async assertions.

axross Updated 1 repo stars

File contents

axross/skills commit e69e6f3bc6

Frequently asked questions

npx get-skill add axross/unit-testing