Testing Best Practices

MUST USE when writing, reviewing, or modifying tests. Enforces Arrange-Act-Assert, assertions that fail when the code breaks (exact values, list ties, side effects, limits), factory-based test data, test isolation, mocking boundaries, and pyramid-balanced coverage; bundle covers mutation testing (Stryker, mutmut) for proving the tests would catch a break.

Spardutti Updated

File contents

Spardutti/claude-skills/tree/main/skills/testing-best-practices commit cce9f7cd2b

Frequently asked questions

npx skillmds@latest add spardutti/testing-best-practices