Permalink
9b3072e Nov 21, 2017
3 contributors

Users who have contributed to this file

@lucassimon @kevinlondon @vandersonmota
91 lines (51 sloc) 1.49 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

Compatibility

model_mommy supports Django >= 1.8

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:

.. toctree::
   :maxdepth: 4

   basic_usage
   how_mommy_behaves
   recipes
   deprecation_warnings
   know_issues
   extensions





Indices and tables