python-django-setuptest

simple test suite enabling Django app testing via setup.py (Python 2)

Description

Django Setuptest is a simple module enabling Django app testing via setup.py.

Normally when you execute

 $ python setup.py test

for Django related modules you're almost certain to run into DJANGO_SETTINGS_MODULE environment variable issues, e.g.:

    ImportError: Settings cannot be imported, because environment variable
    DJANGO_SETTINGS_MODULE is undefined.

This module overcomes this by configuring the DJANGO_SETTINGS_MODULE environment variable before executing your test suite. As a bonus it also generates Coverage and PEP 8 reports as part of the test.

This is the Python 2 version of the package.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/praekelt/django-setuptest


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install python-django-setuptest