Model Mommy: Smart fixtures for better tests¶
Model-mommy offers you a smart way to create fixtures for testing in Django. With a simple and powerful API you can create many objects with a single line of code.
Contributing to Model Mommy¶
As an open source project, Model Mommy welcomes contributions of many forms
Examples of contributions include:
- Code Patches
- Documentation improvements
- Bug reports
Run the command above
pip install model_mommy
- Prepare a virtual environment.
pip install virtualenvwrapper mkvirtualenv model_mommy --no-site-packages --distribute
- Install the requirements.
pip install -r dev_requirements.txt
- Run the tests.
Model-mommy was inspired by many great open source software like ruby’s ObjectDaddy and FactoryGirl.
Doubts? Loved it? Hated it? Suggestions?¶
Join our mailing list for support, development and ideas!
- Basic Usage
- How mommy behaves?
- Deprecation Warnings
- Known Issues