Commit 9d88cda1 authored by Chris Lamb's avatar Chris Lamb 👀
Browse files

Add a note to the "Contributing" page to suggest enable concurrency when running the tests locally.

parent 0beddf10
Loading
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -21,8 +21,9 @@ Testing
=======

diffoscope's test suite relies on `pytest <https://docs.pytest.org/>`__;
to run all tests use ``pytest[-3]``. For faster interactive development
here's an example of how to run a (much) smaller subset of tests:
to run all tests use ``pytest[-3]``, appending ``-n 4`` or similar to enable
running tests concurrently. For faster interactive development here's an
example of how to run a (much) smaller subset of tests:

    pytest  -v --exitfirst -k lib tests/comparators/test_elf.pyc [ --pdb ]