factory_bot
RubyGemsv6.6.0Safe 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.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Licenses in the dependency tree
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.
Runtime (1)
Used by
Popular packages that depend on factory_bot.
Relationship graph
Dependencies (left) and dependents (right) of factory_bot.
Frequently installed together
Release history
7 releases in the last two years, typically about 63 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 6.6.0latest | 4 months ago | — | MIT |
| 6.5.6 | 10 months ago | — | MIT |
| 6.5.5 | 1 year ago | — | MIT |
| 6.5.4 | 1 year ago | — | MIT |
| 6.5.3 | 1 year ago | — | MIT |
| 6.5.2 | 1 year ago | — | MIT |
| 6.5.1 | 1 year ago | — | MIT |
| 6.5.0 | 2 years ago | — | MIT |
| 6.4.6 | 2 years ago | — | MIT |
| 6.4.5 | 2 years ago | — | MIT |
| 6.4.4 | 2 years ago | — | MIT |
| 6.4.3 | 2 years ago | — | MIT |
| 6.4.2 | 2 years ago | — | MIT |
| 6.4.1 | 2 years ago | — | MIT |
| 6.4.0 | 2 years ago | — | MIT |
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.