Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Run django unittest recursively

Project description

========================================
``django-unittest-depth`` Run Django unittests recursively
========================================
:Version: 0.4



=======================================
Synopsis
=======================================

I wanted a different test directory layout than the default $appname/tests.py,
so I wrote this suite set-up, so you can have directory layouts like:

$appname/
tests/
__init__.py
test_models/
__init__.py
test_Blog.py
test_Author.py
test_Repository.py
test_views.py

instead.

To use this in your django app, you just add the following to your
$appname/tests/__init__.py module:

>>> from djangox.test.depth import alltests
...
>>> def suite():
... return alltests(__file__, __name__)


======================================
Installation
======================================

To install:

>>> python ./setup.py install


Or via easy_install:

>>> easy_install django-unittest-depth

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-unittest-depth, version 0.6
Filename, size File type Python version Upload date Hashes
Filename, size django-unittest-depth-0.6.tar.gz (2.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page