Skip to content

Commit

Permalink
Add direct pytest usage to CONTRIBUTING
Browse files Browse the repository at this point in the history
  • Loading branch information
asmacdo committed Aug 21, 2024
1 parent cf38e63 commit e15db0d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,8 @@ To run the tests::
To run tests on one file (args after ``--`` are passed to pytest)::

tox -- test/test_my_thing.py

It is also possible to use pytest directly, but you will need to override the options passed from
`tox.ini` with `addopts`. Invocation in this way can be faster while developing::

python -m pytest -o addopts="" test/test_thething.py::specific_test

0 comments on commit e15db0d

Please sign in to comment.