Test Patterns

Applies proven testing patterns — Arrange-Act-Assert (AAA), Given-When-Then, Test Data Builders, Object Mother, parameterized tests, fixtures, spies, and test doubles — to help write maintainable, reliable, and readable test suites. Use when the user asks about writing unit tests, integration tests, or end-to-end tests; structuring test cases or test suites; applying TDD or BDD practices; working with mocks, stubs, spies, or fakes; improving test coverage or reducing flakiness; or needs guidance on test organization, naming conventions, or assertions in frameworks like Jest, Vitest, pytest, or similar. Use when this capability is needed.

tomevault-io Updated

File contents

tomevault-io/skills-registry/tree/main/rohitg00--skillkit--test-patterns commit 873cba2eda

Frequently asked questions

npx skillmds@latest add tomevault-io/test-patterns