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
``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.
Source Distribution
Built Distribution
File details
Details for the file django-unittest-depth-0.4.tar.gz
.
File metadata
- Download URL: django-unittest-depth-0.4.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6985581de386b037b0844635628a23545fa524d87a1fbd3d549a31466fe6fa1 |
|
MD5 | 5f0895004bff452baef38b792d10de66 |
|
BLAKE2b-256 | f0658c5c70e0765098ea408990cb7a308298d6042e5f946be31bab1d0548a885 |
Provenance
File details
Details for the file django_unittest_depth-0.4-py2.6.egg
.
File metadata
- Download URL: django_unittest_depth-0.4-py2.6.egg
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2360cc2066ff219cd19cb510dbe70e7f7c154ab0f0a95db0ecbcbbd8e3fab77b |
|
MD5 | 9294e2b3b9a61f35929bca11ffd89083 |
|
BLAKE2b-256 | f4741d67820cff647c215f72177816bc8990fc798df6d39eabc4e4abcb368af6 |