pytest
- Run:
pytest -q; single filepytest tests/test_x.py - Select:
pytest -k "name expression" - Stop on first fail:
pytest -x; verbosepytest -vv - Coverage:
pytest --cov=package - Share setup with fixtures; many cases with
@pytest.mark.parametrize - Async:
pytest-asyncio+@pytest.mark.asyncio