Example of test of reusable Django app
virtualenv vtestango source vtestango/bin/activate python setup.py develop pip install Django==1.8.3 pip install pillow==1.7.8 # python 2 pip install pillow==2.4.0 # python 3
You need install project before
cd example python manage.py runserver And access to http://localhost:8000/testango/hello/
You need install project before
cd example python manage.py test testango
You DON'T need install project before. And you executing the tests with python 2.7/3.3 and Django 1.5/1.6
pip install tox==1.7.1 tox
sudo pip install coveralls==1.0a2 coverage erase tox coverage combine coverage report -m coverage html chromium-browser htmlcov/index.html # or another browser