diff --git a/.gitignore b/.gitignore index 18441a7..8cf9c4e 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,5 @@ dist MANIFEST env servers/*/kafka-bin +.coverage +.noseids diff --git a/README.md b/README.md index ad4f7ab..f20f2ad 100644 --- a/README.md +++ b/README.md @@ -190,6 +190,11 @@ pip install python-snappy tox ``` +## Run a single unit test +```shell +tox -e py27 -- -v --with-id 102 +``` + ## Run the integration tests The integration tests will actually start up real local Zookeeper diff --git a/tox.ini b/tox.ini index 3c5fd17..09ec1e3 100644 --- a/tox.ini +++ b/tox.ini @@ -8,6 +8,6 @@ deps = mock python-snappy commands = - nosetests --with-coverage --cover-erase --cover-package kafka [] + nosetests {posargs:-v --with-id --with-coverage --cover-erase --cover-package kafka} setenv = PROJECT_ROOT = {toxinidir}