factory_girl
https://github.com/thoughtbot/factory_girl
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.
18 Subscribers
Add a CodeTriage badge to factory_girl
Help out
- Issues
- Improve user feedback if defining static association with a block
- Traits possible race condition when creating dependent associations
- Forwarding from one factory to another
- Allow specification of default assocations depending on context
- enum traits do not use prefix
- attributes_for(:factory, some_association: foo) returns nil for :some_association
- Improve experience with file uploads
- Allow factories to use RSpec example methods such as `double`
- Confusion around aliases for `{attribute}` and `{attribute}_id`
- Inconsistent and brittle trait inheritance behavior
- Docs