</>PackageGraphPackageGraph

factory_bot

RubyGemsv6.6.0

Safe to adopt

Yes — factory_bot scores well across adoption, maintenance, weight, supply chain, and licensing. 88M downloads per week and 1 known dependents. Last published 128 days ago. 7 releases in the last 2 years.

  • AAdoption: grade A, Excellent.

    88M downloads per week and 1 known dependents.

  • BMaintenance: grade B, Good.

    Last published 128 days ago. 7 releases in the last 2 years.

  • BWeight: grade B, Good.

    Pulls in 14 transitive packages.

  • ASupply chain: grade A, Excellent.

    No install scripts, 2 maintainers, and a contained dependency surface.

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding factory_bot to a project.

1
Direct dependencies

Runtime packages this one declares itself.

14
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

Install size

Unpacked size of this package plus its entire runtime tree.

3
Tree depth

Longest resolved dependency chain below this package.

Licenses in the dependency tree

MITRuby

Every license you inherit by installing factory_bot, not just its own. Check this before a legal review, not after.

Compatibility

Ruby
No constraint declared

Dependencies

Declared by factory_bot v6.6.0. Runtime dependencies are installed with the package; dev dependencies are not.

Used by

Popular packages that depend on factory_bot.

Relationship graph

Dependencies (left) and dependents (right) of factory_bot.

activesupportfactory_bot_railsfactory_bot
factory_bot dependencies dependents

Frequently installed together

Release history

7 releases in the last two years, typically about 63 days apart.

Recent versions of factory_bot
VersionPublishedSizeLicense
6.6.0latest4 months agoMIT
6.5.610 months agoMIT
6.5.51 year agoMIT
6.5.41 year agoMIT
6.5.31 year agoMIT
6.5.21 year agoMIT
6.5.11 year agoMIT
6.5.02 years agoMIT
6.4.62 years agoMIT
6.4.52 years agoMIT
6.4.42 years agoMIT
6.4.32 years agoMIT
6.4.22 years agoMIT
6.4.12 years agoMIT
6.4.02 years agoMIT

Overview

factory_bot is an RubyGems package. It is extremely widely used, with about 88M downloads per week and 1 known dependents in the graph. The latest version is 6.6.0, released under the MIT license.

Who should use it

Teams working in the RubyGems ecosystem who need this functionality and value a battle-tested, widely-adopted solution.

When not to use it

Consider an alternative if you need to or if a more actively-maintained option better fits your RubyGems stack.

Pros

  • Large, well-established user base (88M weekly downloads).
  • Clear open-source license (MIT).
  • Lean dependency tree (1 direct dependencies).

Cons

  • No significant drawbacks detected from available metadata.

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Frequently asked questions

Should I use factory_bot?

Yes — factory_bot scores well across adoption, maintenance, weight, supply chain, and licensing. 88M downloads per week and 1 known dependents. Last published 128 days ago. 7 releases in the last 2 years.

How do I install factory_bot?

Run `gem install factory_bot` to add factory_bot to your RubyGems project.

How many dependencies does factory_bot have?

factory_bot declares 1 direct dependency and pulls in 14 packages in total once its runtime tree is resolved.

What license is factory_bot released under?

factory_bot is distributed under the MIT license. Its dependency tree also includes: MIT, Ruby.

How popular is factory_bot?

factory_bot has approximately 87,992,896 downloads per week and 1 known dependent packages.

Is factory_bot still maintained?

The most recent release of factory_bot (v6.6.0) was published 4 months ago.