What problem does it solve?
This Skill helps teams detect and resolve failures in interactions between modules, API endpoints, databases, and external services by providing patterns, checks, and examples to validate data flow, transactional behavior, and multi-step workflows.
Core Features & Use Cases
- API + Database Validation: End-to-end patterns that assert HTTP responses and verify resulting database state and transactions.
- Multi-module Interaction Tests: Examples showing how to validate side effects across services such as document creation triggering notifications and rollback behavior on downstream failures.
- External Service Mocking & Auth Checks: MSW-based mocks for third-party APIs, authentication/authorization flow tests, and transaction commit/rollback verification.
- Use Case: Validate a signup → document creation → notification workflow using a test database, mocked external APIs, and assertions for both happy and failure paths.
Quick Start
Run an integration test that signs up a test user, authenticates, creates a document through the API, verifies the database record and notification side-effect, and asserts rollback when a downstream service fails.