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
- FEATURE: Before(:all) and after(:all) callbacks added
- Precision of DateTime fields, when specified, do not match the DB schema
- Fix issue introduced by YARD's global #log method
- Expanded trait error message to include list of defined traits.
- Show the registered traits in the "Trait not registered" error message
- Initial value for sequences having no effect
- Allow traits to override the class
- Drop support for Ruby 3.0
- BugFix: Ensure callbacks only run once per instance.
- BugFix: '<attribute>' and '<attribute>_id' conflict.
- Docs
- Subscribe to help with docs for this repo and come back later