aboutsummaryrefslogtreecommitdiffstats
path: root/README.rst
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2019-04-02 16:29:14 +0200
committerGitHub <noreply@github.com>2019-04-02 16:29:14 +0200
commit6eb47a5fa5f848dd8356d0c64f3165c3e73fe333 (patch)
treef6bd4fe565fc8957f7cd8db73c2679f2cf9a155a /README.rst
parent9b7c2566d3e00e0bc4e4d2a21bb8d63a2b28d043 (diff)
downloadmitmproxy-6eb47a5fa5f848dd8356d0c64f3165c3e73fe333.tar.gz
mitmproxy-6eb47a5fa5f848dd8356d0c64f3165c3e73fe333.tar.bz2
mitmproxy-6eb47a5fa5f848dd8356d0c64f3165c3e73fe333.zip
simplify testing instructions
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst8
1 files changed, 1 insertions, 7 deletions
diff --git a/README.rst b/README.rst
index 2804b1db..bccc6c5b 100644
--- a/README.rst
+++ b/README.rst
@@ -106,13 +106,7 @@ For speedier testing, we recommend you run `pytest`_ directly on individual test
.. code-block:: bash
cd test/mitmproxy/addons
- pytest --cov mitmproxy.addons.anticache --looponfail test_anticache.py
-
-To generate terminal report along with missing line numbers of individual test files or folders:
-
-.. code-block:: bash
-
- pytest --cov-report term-missing --cov mitmproxy.flowfilter --looponfail test_flowfilter.py
+ pytest --cov mitmproxy.addons.anticache --cov-report term-missing --looponfail test_anticache.py
As pytest does not check the code style, you probably want to run ``tox -e lint`` before committing your changes.