Skip to content

Clarify "fixtures replacement" and "build strategies" terminology in README#1829

Open
Y12hu wants to merge 1 commit into
thoughtbot:mainfrom
Y12hu:patch-1
Open

Clarify "fixtures replacement" and "build strategies" terminology in README#1829
Y12hu wants to merge 1 commit into
thoughtbot:mainfrom
Y12hu:patch-1

Conversation

@Y12hu

@Y12hu Y12hu commented Jul 19, 2026

Copy link
Copy Markdown

What this does

Expands two terms in the README that assume prior context, based on feedback in #1826 from a first-time reader's perspective:

  1. "fixtures replacement" — adds a brief explanation of what Rails fixtures are and what factory_bot replaces them with, for readers unfamiliar with the Rails testing ecosystem.
  2. "build strategies" — the four strategies (saved instances, unsaved instances, attribute hashes, stubbed objects) were previously listed with no explanation. Each now has a short plain-language description of what it does.

Why

As someone completely new to factory_bot, I found these two spots in the README assumed knowledge I didn't have. No functional/code changes — text-only clarification.

Related to #1826

Expands two terms that assume prior context, based on feedback in thoughtbot#1826. No functional changes, documentation only.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant