factory_bot
https://github.com/thoughtbot/factory_bot
Ruby
A library for setting up Ruby objects as test data.
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
2 Subscribers
Add a CodeTriage badge to factory_bot
Help out
- Issues
- Add support for before build callback
- build_stubbed broke when i upgrade to Rails 7.1.3
- Support for callback before(:build)
- Add `require 'factory_bot_rails'` in GETTING-STARTED instructions
- Ability to checkpoint and restore sequence state
- Update has_many-associations.md
- Fix docs about definition file paths
- Rubocop (`Rails/SaveBang`) linters `create(my_dynamic_string.to_sym)` when using with dynamic first param
- build_stubbed does not fill id for uuid column type with SQLServer
- Fix file name collision on case-insensitive file systems
- Docs
- Subscribe to help with docs for this repo and come back later