rails-testing

Installation
SKILL.md

Rails Testing

Instructions

When helping with Rails testing:

  1. Understand the test structure

    • Check existing tests in test/ directory to understand project conventions
    • Look for test patterns in similar files (models, controllers, etc.)
    • Respect the project's test organization and naming conventions
  2. Running tests

    • Run all tests: bin/rails test
    • Run specific file: bin/rails test test/models/user_test.rb
    • Run specific test: bin/rails test test/models/user_test.rb:5 (line number)
    • Run with verbose output: bin/rails test -v
    • Use --fail-fast to stop on first failure: bin/rails test --fail-fast
Installs
6
GitHub Stars
601
First Seen
Jan 24, 2026
rails-testing — etewiah/property_web_builder