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.
3 Subscribers
Add a CodeTriage badge to factory_bot
Help out
- Issues
- Populating an `hstore` in Factories causes a significant slowdown
- Generating nested attributes
- NoMethodError: undefined method 'to_sym' for CustomStrategy
- Expose defined factories
- Drop EOL Ruby and Rails versions
- Support for default attributes for JSON columns
- Traits possible race condition when creating dependent associations
- "pending" feature to lint factories that are expected to be invalid
- Forwarding from one factory to another
- How to handle polymorphic associations using exclusive arc
- Docs
- Subscribe to help with docs for this repo and come back later