What problem does it solve?
It helps you choose the right Rails test type and apply consistent verification patterns so your test suite stays reliable, clear, and resilient against brittle assertions.
Core Features & Use Cases
- Test type selection guidance: Maps behaviors to model, unit, integration, system, job, mailer, component, and policy tests by risk and location.
- Practical Rails Minitest examples: Provides reusable snippets for validations, scopes, integration flows, system flows, Active Job email assertions, and mailer delivery assertions.
- Debugging flaky tests and safer verification: Recommends ordering tests for focused diagnosis and using time helpers, controlled stubs, and fixture naming conventions to keep tests deterministic.
- Verification-first workflow: Encourages running the smallest focused test first, then widening coverage only when wiring or user-visible workflow risk is involved.
Quick Start
Use the testing-patterns skill to design and write a Rails Minitest test that covers a flaky board-creation flow with the narrowest possible test type.