Skip to main content
Run any Skill in Manus
with one click

rails-testing

Stars0
Forks0
UpdatedJune 13, 2026 at 06:04

Set up and write the test suite for a Rails 8.1 app — choose the framework (Minitest, the Rails default, or RSpec), the test-data strategy (fixtures or FactoryBot), the system-test driver (Selenium/Chrome by default, or a CDP driver like Cuprite), and coverage (SimpleCov) — then write model, request/controller, and system tests across the pyramid. Menu-driven with a Recommended default per menu; detects the framework already chosen at scaffold time (honors the -T flag and any installed rspec-rails) and config.api_only (API skips system/browser tests), and verifies the suite actually runs green. Apply when adding tests, setting up the test stack, writing factories/fixtures, testing an endpoint or a UI flow, or wiring coverage/CI.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
7 files
SKILL.md
readonly