Testing Best Practices

Battle-tested testing best practices for AI coding assistants (40+ rules). Use when writing, reviewing, or generating tests. Covers test structure, data factories, assertions, mocking, DOM testing, and database testing. Works with Vitest, Jest, Playwright, Testing Library, Storybook, and more.

royrvd Updated
xUnit Test Patterns

File contents

royrvd/golden-testing-rules-for-ai commit ce9fa1460b

Frequently asked questions

npx get-skill add royrvd/testing-best-practices