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
File details
Details for the file django-unittest-depth-0.6.tar.gz
.
File metadata
- Download URL: django-unittest-depth-0.6.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 253a7655a4d33b178a6c5b6fa361d5193583d55a1d20a31cf7c4edba453cbca0 |
|
MD5 | 5fd24692d91e8c45a907a2bac7b11cca |
|
BLAKE2b-256 | aaea1ed8293e8d6efb8585d30cfe024d901ec1da5f758d4a5e7ba15ee4762566 |