minitest

Installation
SKILL.md

Rails Minitest Expert

Write performant, maintainable, and non-brittle tests for Rails applications using Minitest and fixtures.

Philosophy

Core Principles:

  1. Test behavior, not implementation - Focus on WHAT code does, not HOW
  2. Fast feedback loops - Prefer unit tests over integration tests, fixtures over factories
  3. Tests as documentation - Test names should describe expected behavior
  4. Minimal test data - Create only what's necessary; 2 records == many records
  5. Non-brittle assertions - Test outcomes, not exact values that may change

Testing Pyramid:

    /\     System Tests (Few - critical paths only)
   /  \    
  /____\   Request/Integration Tests (Some)
 /      \  
Related skills

More from thinkoodle/rails-skills

Installs
33
GitHub Stars
4
First Seen
Jan 28, 2026