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
- enum traits do not use prefix
- Object associations behave inconsistently inside factories
- Allow factories to use RSpec example methods such as `double`
- Inconsistent and brittle trait inheritance behavior
- Improve experience with file uploads
- attributes_for(:factory, some_association: foo) returns nil for :some_association
- Confusion around aliases for `{attribute}` and `{attribute}_id`
- Docs
- Subscribe to help with docs for this repo and come back later