{"id":80108,"library":"thoughtbot-factory-girl","title":"Factory Girl","description":"factory_girl provides a framework and DSL for defining and using factories - less error-prone, more explicit, and all-around easier to work with than fixtures.","status":"active","version":"1.2.2","language":"ruby","source_language":null,"source_url":null,"tags":["testing","factories","fixtures"],"install":[{"cmd":"gem install thoughtbot-factory_girl","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'thoughtbot-factory_girl', '~> 1.2.2'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"FactoryGirl","correct":"require 'factory_girl'"}],"quickstart":{"code":"require 'factory_girl'\n\nFactoryGirl.define do\n  factory :user do\n    name 'John Doe'\n    email 'john@example.com'\n  end\nend\n\nuser = FactoryGirl.create(:user)","lang":"ruby","description":"Define and use a factory for creating test objects"},"warnings":[{"fix":"Use factory_bot gem and require 'factory_bot' instead","message":"FactoryGirl has been renamed to FactoryBot in newer versions","severity":"breaking","affected_versions":">= 4.0.0"}],"env_vars":null,"search_vec":"'all-around':22 'around':24 'defin':11 'dsl':9 'easier':25 'error':17 'error-pron':16 'explicit':20 'factori':1,3,14,32 'fixtur':30,33 'framework':7 'girl':2,4 'less':15 'prone':18 'provid':5 'test':31 'use':13 'work':27","created_at":"2026-06-18T05:13:19.515803+00:00","updated_at":"2026-06-18T05:13:19.515803+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":"http://www.rubydoc.info/gems/thoughtbot-factory_girl/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-18","next_check":"2026-12-15","install_tag":null}}