django-nose collect-only运行测试

时间:2014-01-28 17:44:29

标签: python django testing django-nose

安装Nose和django-nose,运行以下命令:

./manage.py test --collect-only

以下是输出:

nosetests --collect-only --verbosity=1
Creating test database for alias 'default'...
.
----------------------------------------------------------------------
Ran 1 test in 0.000s

OK
Destroying test database for alias 'default'...

为什么collect-only运行测试而不是输出他们的名字?

1 个答案:

答案 0 :(得分:2)

增加详细程度似乎产生了预期的结果:

./ manage.py test --collect-only --verbosity = 2

相关问题