Skip to content

Instantly share code, notes, and snippets.

@rgeraskin
rgeraskin / pytest.sh
Created December 30, 2019 14:12 — forked from amatellanes/pytest.sh
Useful py.test commands.
py.test test_sample.py --collect-only # collects information test suite
py.test test_sample.py -v # outputs verbose messages
py.test -q test_sample.py # omit filename output
python -m pytest -q test_sample.py # calling pytest through python
py.test --markers # show available markers