Permalink
86 lines (48 sloc) 1.42 KB

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

Install

Run the command above

pip install model_mommy

Contributing

  1. Prepare a virtual environment.
pip install virtualenvwrapper
mkvirtualenv model_mommy --no-site-packages --distribute
  1. Install the requirements.
pip install -r dev_requirements.txt
  1. Run the tests.
make test

Inspiration

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!

Contents:

Indices and tables