Add test timers via nose-timer plugin; list the 10 slowest by default
This commit is contained in:
3
tox.ini
3
tox.ini
@@ -4,10 +4,11 @@ envlist = py26, py27, pypy
|
|||||||
deps =
|
deps =
|
||||||
unittest2
|
unittest2
|
||||||
nose
|
nose
|
||||||
|
nose-timer
|
||||||
coverage
|
coverage
|
||||||
mock
|
mock
|
||||||
python-snappy
|
python-snappy
|
||||||
commands =
|
commands =
|
||||||
nosetests {posargs:-v --with-id --with-coverage --cover-erase --cover-package kafka}
|
nosetests {posargs:-v --with-id --with-timer --timer-top-n 10 --with-coverage --cover-erase --cover-package kafka}
|
||||||
setenv =
|
setenv =
|
||||||
PROJECT_ROOT = {toxinidir}
|
PROJECT_ROOT = {toxinidir}
|
||||||
|
|||||||
Reference in New Issue
Block a user