Skip to content

Commit

Permalink
simplify testing instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
mhils authored Apr 2, 2019
1 parent 9b7c256 commit 6eb47a5
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 6eb47a5

Please sign in to comment.