aboutsummaryrefslogtreecommitdiffstats
path: root/README.rst
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2015-09-21 18:31:30 +0200
committerMaximilian Hils <git@maximilianhils.com>2015-09-21 18:31:30 +0200
commitbba5ec7144f0e08d4b26bad2987c6e7f0871b83d (patch)
treee462047f6169bd64b6bab99b8d8259bb0697bcf9 /README.rst
parent88375ad64aa2f53b9447df1ccd7aa7ee77cb04ef (diff)
downloadmitmproxy-bba5ec7144f0e08d4b26bad2987c6e7f0871b83d.tar.gz
mitmproxy-bba5ec7144f0e08d4b26bad2987c6e7f0871b83d.tar.bz2
mitmproxy-bba5ec7144f0e08d4b26bad2987c6e7f0871b83d.zip
experimental: run tests using py.tests
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.rst b/README.rst
index ec61e086..ae6c6e25 100644
--- a/README.rst
+++ b/README.rst
@@ -69,7 +69,7 @@ mitmproxy test suite:
.. code-block:: text
. ../venv.mitmproxy/bin/activate # ..\venv.mitmproxy\Scripts\activate.bat on Windows
- nosetests ./test
+ py.test -n 4 --cov libmproxy
Note that the main executables for the project - ``mitmdump``, ``mitmproxy`` and
``mitmweb`` - are all created within the virtualenv. After activating the
@@ -92,7 +92,7 @@ requirements installed, and you can simply run the test suite:
.. code-block:: text
- nosetests --with-cov --cov-report term-missing
+ py.test -n 4 --cov libmproxy
Please ensure that all patches are accompanied by matching changes in the test
suite. The project maintains 100% test coverage.