Update README.rst

This commit is contained in:
Rajat Gupta 2019-02-28 23:59:50 +05:30 committed by GitHub
parent 70777a1b6e
commit 9b7c2566d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -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.