Test Unit Guidelines

Use this skill when writing, reviewing, refactoring, or maintaining unit tests in any framework — the isolated, in-process tests of a single function, class, or module. Covers AAA structure, behaviour-focused naming, isolation, mocking discipline, error and async assertions, parametrised cases, and meaningful coverage. Not for integration, contract, or end-to-end tests, which exercise real collaborators.

nearform 7c1aba1 2 files · 14.3 KB Updated

File contents

nearform/skills/tree/main/plugins/test-unit-guidelines/skills/test-unit-guidelines commit 7c1aba129a

Frequently asked questions

npx skillmds@latest add nearform/test-unit-guidelines