Skip to main content
thoughtbot thoughtbot
  • Live on Twitch!

    thoughtbot is livestreaming

    Work alongside the thoughtbot team as we collaborate with each other and our clients, live. Ask us anything, we're live right now!

  • Case Studies
  • Blog
  • Let’s Talk
Live on Twitch!

thoughtbot is livestreaming

Work alongside the thoughtbot team as we collaborate with each other and our clients, live. Ask us anything, we're live right now!

Let’s get started!
View all Services
Development
  • Ruby on Rails
  • Hotwire
  • AI and Machine Learning
  • Maintenance
  • Mobile
Design
  • Discovery Sprints
  • UX, UI, and Product Design
  • Design Systems
Product
  • MVP
  • Product Management
  • Accessibility
Team and Processes
  • Team Augmentation
  • Fractional Leadership
View all Services
View all Resources
Development
  • Tech Leadership Resources
  • Open Source
  • Books
  • The Bike Shed Podcast
  • Live Streaming on YouTube
  • Conference Talks
The business of great software
  • Playbook
  • Purpose Built
  • Giant Robots Smashing Into Other Giant Robots Podcast
  • Design Sprint Guide
  • Live Streaming on LinkedIn
View all Resources

Factory Girl Articles

Written by thoughtbot, your expert partner for design and development.

    • All Topics
    • Design
    • Development
    • Product
    • More topics
  1. Tips for Using FactoryBot Without an ORM

    Exploring how to use FactoryBot effectively with models backed by plain Ruby objects.

    Oli Peate
    April 28, 2022
    • Factory Girl
    • Factory Bot
    • Ruby
    • Rails
    • Web
  2. factory_bot

    factory_girl is becoming factory_bot.

    Avielle Wolfe and Josh Clayton
    October 24, 2017
    • News
    • Web
    • Rails
    • Testing
    • RSpec
    • Ruby
    • Factory Girl
    • Factory Bot
  3. Debugging Why Your Specs Have Slowed Down

    Your test suite used to be lightning fast but now it’s starting to feel a bit sluggish. Before adding CI parallelization, let’s see if there’s any clutter to remove.

    Mike Wenger
    September 22, 2017
    • Testing
    • Ruby
    • Rails
    • Factory Girl
    • Web
    • Factory Bot
  4. Factories Should be the Bare Minimum

    Keep it simple.

    Matt Sumner
    April 26, 2016
    • Testing
    • Rails
    • Factory Girl
    • Web
    • Factory Bot
  5. Speed Up Tests by Selectively Avoiding Factory Bot

    Learn one simple way to speed up your tests with the factory_bot gem!

    Josh Clayton
    August 14, 2014
    • Web
    • Rails
    • Testing
    • RSpec
    • Factory Girl
    • Factory Bot
  6. FactoryBot for Seed Data?

    Occasionally, somebody recommends or asks about using FactoryBot to generate...

    Josh Clayton
    November 13, 2013
    • Web
    • Ruby
    • Testing
    • Factory Girl
    • Factory Bot
  7. Taming Factory Bot List Creation

    There are times in your tests when you need to create multiple instances of...

    Derek Prior
    July 13, 2013
    • Web
    • Ruby
    • Testing
    • Factory Girl
    • Factory Bot
  8. Testing Your Factories First

    Have you ever added a seemingly innocent validation to a model, like so:...

    Reade Harris
    September 6, 2012
    • Web
    • Open Source
    • Testing
    • Factory Girl
    • Factory Bot
  9. Writing Better Cucumber Scenarios; or, Why We're Deprecating FactoryBot's Cucumber Steps

    For almost three years now, FactoryBot1 has provided developers using...

    Josh Clayton
    June 25, 2012
    • Web
    • Ruby
    • Testing
    • Factory Girl
    • Factory Bot
  10. Remove Duplication with FactoryBot's Traits

    FactoryBot’s traits are an outstanding way to DRY up your tests and factories...

    Josh Clayton
    May 24, 2012
    • Web
    • Open Source
    • Testing
    • Ruby
    • Rails
    • Factory Girl
    • Factory Bot
  11. Sign up to receive a weekly recap from thoughtbot

    Looking for even more ways to stay connected?
    RSS feed icon Check out our feeds
1 2 3 Next › Last »

Footer

thoughtbot
  • Services
  • Case Studies
  • Resources
  • Let's Talk
  • Our Company
  • Careers
  • Purpose
  • Blog
  • Sponsor
  • Mastodon
  • Bluesky
  • GitHub
  • YouTube
  • Twitch
  • Feeds
© 2025 thoughtbot, inc.

The design of a robot and thoughtbot are registered trademarks of thoughtbot, inc.

  • US: +1 (877) 9-ROBOTS
  • UK: +44 (0)20 3807 0560
  • Beware of fraudulent thoughtbot job listings Learn more
  • Code of Conduct
  • Accessibility Statement
  • Privacy Policy