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.

RubyGems Homepage Project Documentation