aboutsummaryrefslogtreecommitdiffstats
path: root/README.rst
diff options
context:
space:
mode:
authorRajat Gupta <35985127+rjt-gupta@users.noreply.github.com>2019-02-28 23:59:50 +0530
committerGitHub <noreply@github.com>2019-02-28 23:59:50 +0530
commit9b7c2566d3e00e0bc4e4d2a21bb8d63a2b28d043 (patch)
treeb32b28bf19339c687b723789177a43d646484370 /README.rst
parent70777a1b6ed64af9cafcdef223a8a260ecc96864 (diff)
downloadmitmproxy-9b7c2566d3e00e0bc4e4d2a21bb8d63a2b28d043.tar.gz
mitmproxy-9b7c2566d3e00e0bc4e4d2a21bb8d63a2b28d043.tar.bz2
mitmproxy-9b7c2566d3e00e0bc4e4d2a21bb8d63a2b28d043.zip
Update README.rst
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.rst b/README.rst
index d7100374..2804b1db 100644
--- a/README.rst
+++ b/README.rst
@@ -107,6 +107,12 @@ For speedier testing, we recommend you run `pytest`_ directly on individual test
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
As pytest does not check the code style, you probably want to run ``tox -e lint`` before committing your changes.