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
- Resolve sibling traits by reference, not by copy
- Preserve false values in traits_for_enum Hash mappings
- Cache a compiled snapshot per factory and traits
- Evaluate attributes with a single Evaluator
- Consolidate attribute and trait resolution in Compiler
- Fold definition hierarchy into Factory
- Replace evaluator decorators with construct flags
- Don't require a custom strategy to implement #to_sym
- Identify a uuid primary key by its Active Record type
- Assign attribute_lists in a single write
- Docs
- Subscribe to help with docs for this repo and come back later