What problem does it solve?
Developers often struggle to write or scaffold comprehensive RSpec tests for Rails applications, dealing with conventions, factories, and external stubs manually.
Core Features & Use Cases
- Detects the project's testing setup (RSpec, Minitest, FactoryBot, VCR, shoulda-matchers) by inspecting the Gemfile and support files.
- Determines appropriate spec locations for models, services, requests, jobs, policies, etc., and creates or updates spec files following existing project style.
- Generates or updates FactoryBot factories with sequences, traits, and associations when missing.
- Handles external HTTP stubbing with VCR cassettes or WebMock, and includes Sidekiq, ActionMailer, and other job/email helpers.
- Provides error handling for missing test frameworks, schema mismatches, and flaky time‑dependent tests.
Quick Start
Generate a complete RSpec model spec for the User model, including factories and validations.