Rails Testing
Comprehensive RSpec and Rails testing guide covering test design, factories, system tests, and suite performance.
- CCM score
- 48 of 100
- skills.sh installs
- 313
- GitHub stars
- 228
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers 46 rules across 8 categories, ordered by impact from test design and data management down to suite organization
- Includes guidance on four-phase test structure, FactoryBot traits and sequences, Capybara page objects, and Sidekiq fake mode
- Enforces rules such as one assertion per test, no mystery guests, no conditional logic, and no
sleepin system tests - Designed for writing, reviewing, or refactoring Rails specs alongside rails-dev, ruby-optimise, and ruby-refactor
Install
$ npx -y skills add pproenca/dot-skills --skill rails-testing -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Community Ruby on Rails Testing Best Practices
Comprehensive testing guide for Ruby on Rails applications, maintained by Community. Contains 46 rules across 8 categories, prioritized by impact to guide automated test generation, review, and refactoring.
When to Apply
Reference these guidelines when:
- Writing new RSpec specs for models, requests, system tests, or jobs
- Setting up FactoryBot factories with traits and sequences
- Writing Capybara system tests for user journeys
- Testing background jobs with Sidekiq or Active Job
- Reviewing test code for anti-patterns (mystery guests, flaky tests, slow specs)
- Optimizing test suite performance and CI pipeline speed
- Organizing test files, shared examples, and custom matchers
Rule Categories by Priority
Details
- Repository
- github.com/pproenca/dot-skills
- Categories
- Testing & QA, AI Agents & LLM Apps
- First seen
- Jun 3, 2026
Questions
What is rails-testing?
rails-testing is an agent skill listed on Claude Marketplaces in the Testing & QA category. The listing describes rails-testing like this: Ruby on Rails testing best practices for writing effective, maintainable test suites with RSpec.
How do I install rails-testing?
Run npx -y skills add pproenca/dot-skills --skill rails-testing -y in a project to install rails-testing. After that, the agent can use rails-testing in that project.
Which category is rails-testing in?
rails-testing is in the Testing & QA category on Claude Marketplaces. Other listings in that category next to rails-testing include tdd, migrate-to-shoehorn and test-driven-development.
Where is the source code of rails-testing?
The source code of rails-testing is on GitHub at https://github.com/pproenca/dot-skills. The pproenca account on GitHub publishes rails-testing.
More from pproenca/dot-skills
All 100- Ruby Refactor313
- Think313
- Ios Xcode311
- Restful Hateoas308
- Ios Ui Refactor307
- Rails Dev303
- Swift Optimise297
- Ruby Optimise296
- Ios Testing293
- Swift Refactor293
- Dev Rfc290
- Ios Taste288
- Swift Ui Architect287
- Ios Storyboard281
- Rails Design System280
- Ios Navigation279
- Swift Data279
- Ios Chaos Monkey278
- Nginx C Module Perf271
- Bug Review269
- React Native Elements269
- Effect Ts267
- Nginx C Module Debug264
- Rust Write Tests262
Similar to Rails Testing
More Testing & QArspecSkillmindrally/skills765 installsRSpec testing guidance for Ruby and Rails covering test structure, data setup, and isolation patterns.
rubySkillmindrally/skills784 installsRuby development guidelines covering idiomatic style, Ruby 3.x features, and RSpec testing practices.
tddSkillpproenca/dot-skills428 installsStructured guide of 42 test-driven development rules for red-green-refactor workflow and test design.
vitestSkillpproenca/dot-skills8.4K installsCatalog of 44 Vitest best-practice rules covering async tests, setup, mocking, performance, and snapshots.
unit-testing-frameworkSkillaj-geddes/useful-ai-prompts637 installsStructured guidance for writing unit tests with Jest, pytest, JUnit, or RSpec, following the AAA pattern.
jutsu-rspecPluginTheBushidoCollective/han201 starsComprehensive RSpec testing framework skills for Ruby projects with behavior-driven development patterns.