Skip to content

pytest Reference — fixtures, parametrize, mocking, marks, coverage, and conftest.py patterns






pytest Reference — fixtures, parametrize, mocking, marks, coverage, and conftest.py patterns


🧪 pytest Reference

Running tests (flags that matter), fixtures (scope, yield, autouse, conftest.py), parametrize, marks (skip/xfail), monkeypatching, unittest.mock (patch, MagicMock, assert_called), coverage, and pytest.ini config.



🔍 Free tool: PyPI Package Health Checker — check pytest and its plugins — pytest-cov, pytest-mock, hypothesis — for outdated versions and known CVEs.

Founded

2023 in London, UK

Contact

hello@releaserun.com