跳转到主要内容

递归运行Django unittest

项目描述

========================================
``django-unittest-depth`` 运行 Django unittests 递归
========================================
:版本: 0.4



=======================================
概要
=======================================

我想要一个不同于默认的 $appname/tests.py 的测试目录布局,
所以我编写了这个测试套件设置,这样您就可以有如下的目录布局:

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

等等。

要在您的Django应用程序中使用此功能,您只需将以下内容添加到您的
$appname/tests/__init__.py 模块中

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


======================================
安装
======================================

要安装

>>> python ./setup.py install


或通过 easy_install

>>> easy_install django-unittest-depth

项目详情


下载文件

下载适用于您的平台的文件。如果您不确定选择哪个,请了解有关 安装包 的更多信息。

源分布

django-unittest-depth-0.6.tar.gz (2.6 kB 查看哈希值)

上传时间:

支持者