rspec-testing-guidelines
SKILL.md
RSpec Testing Guidelines
Purpose
Ensure comprehensive, maintainable test coverage using RSpec, FactoryBot, and supporting gems configured for the application.
When to Use This Skill
- Writing or modifying RSpec tests (model, request, system, etc.)
- Creating or using FactoryBot factories
- Setting up test data or fixtures
- Testing controllers, models, services, or views
- Using shoulda-matchers for cleaner assertions
- Testing Devise authentication flows