Skip to content
Snippets Groups Projects
Commit 0beddf10 authored by Marc Herbert's avatar Marc Herbert Committed by Chris Lamb
Browse files

Add new, small "Testing" section to CONTRIBUTING.rst


"Drive-through" contributor here. As in many other projects, one of the
most time-consuming step before starting to do any actual work is
finding in my bash history (!) the right tox/pytest/test_foo.sh
incantation. No surprise maintainers have to beg for test(s) all the
time ;-P

Signed-off-by: Chris Lamb's avatarChris Lamb <lamby@debian.org>
parent a93aa33d
No related branches found
No related tags found
No related merge requests found
Pipeline #98403 failed
......@@ -17,6 +17,16 @@ changes and submit a *merge request* via Salsa. See `Gitlab documentation
You can also submit bugs about Debian specific issues to the Debian bug tracker.
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:
pytest -v --exitfirst -k lib tests/comparators/test_elf.pyc [ --pdb ]
More options in `pytest -h`.
Add a comparator
================
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment