Add test timers via nose-timer plugin; list the 10 slowest by default

This commit is contained in:
Dana Powers
2014-08-26 14:13:43 -07:00
parent a1603619d4
commit f7be23f6a7

View File

@@ -4,10 +4,11 @@ envlist = py26, py27, pypy
deps =
unittest2
nose
nose-timer
coverage
mock
python-snappy
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 =
PROJECT_ROOT = {toxinidir}