factory_bot
factory_bot provides a framework and DSL for defining and using factories - less error-prone, more explicit, and all-around easier to work with than fixtures.
Types
Docs
Guides
Zeitwerk
Namespace
Optimized
4.11.1
Josh Clayton and Joe Ferris
bundle add factory_bot
Getting Started
Learn more about the Factory_bot gem.
Playground
Test, play and inspect the gem for yourself