Integration Test

Guide for writing integration tests with Vitest and Testing Library. Use when testing multi-component workflows, database interactions, React components with context providers, or full user flows. Covers the Testing Trophy philosophy (integration > unit), factory patterns for test data, MSW for network mocking, async testing patterns (waitFor, findBy), and custom render with providers. Use this for tests that cross multiple modules or layers of the application.

wodsmith c88b382 2 files · 20.2 KB Updated

File contents

wodsmith/thewodapp/tree/main/.claude/skills/integration-test commit c88b3824ba

Frequently asked questions

npx skillmds@latest add wodsmith/integration-test