37signals-test

Automate Rails testing workflows with Minitest and YAML fixtures.

1|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/joshyorko/agent-skills --skill 37signals-test
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: 37signals-test
Source: https://github.com/joshyorko/agent-skills/tree/main/plugins/rails-37signals-patterns/skills/37signals-test
Command: npx skills add https://github.com/joshyorko/agent-skills --skill 37signals-test

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Writes Minitest tests with integration tests and fixtures following 37signals conventions. Uses Minitest (not RSpec) and fixtures (not factories). Use when writing tests, adding test coverage, or when user mentions testing, Minitest, fixtures, or integration tests.

Core Features & Use Cases

  • Minitest-first testing philosophy with fixtures to keep tests fast and readable.
  • Encourages integration tests over heavy unit-test bloat, covering end-to-end flows.
  • Clear guidance for when and how to use fixtures, tests, and integration tests in Rails projects.

Quick Start

Write a new Minitest integration test that uses fixtures located in test/fixtures and run with bin/rails test

Frequently Asked Questions about 37signals-test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write Minitest integration tests using fixtures in Rails 8?

To write Minitest integration tests using fixtures in Rails 8, you place YAML fixture files in the test/fixtures directory and run your suite using bin/rails test. This approach ensures fast, readable end-to-end coverage without heavy unit-test bloat.

What is the difference between using fixtures and factories for Rails testing?

Fixtures provide predefined YAML data directly in test/fixtures, keeping tests fast and readable. Factories generate dynamic data per test. This approach follows 37signals conventions, favoring fixtures over factories to reduce setup overhead and encourage integration-level coverage.

Does this Rails testing workflow support RSpec or only Minitest?

This workflow strictly supports Minitest and does not use RSpec. It follows a Minitest-first testing philosophy to validate models, controllers, and system tests, adhering to 37signals conventions for minimal setup and robust test suites in Rails environments.

When should I use integration tests instead of model tests in Rails?

You should use integration tests instead of heavy model tests when you need to cover end-to-end flows. This approach encourages integration tests over unit-test bloat, ensuring robust test suites that validate interactions across models, controllers, and system components.

Can I use Minitest with YAML fixtures for controller and system tests in Rails?

Yes, you can use Minitest with YAML fixtures for controller and system tests in Rails. This workflow automates test validation across models, controllers, and system tests, ensuring strict non-RSpec testing with minimal setup in Rails 8 environments.