docs

pytest support

Track pytest test functions, class groupings, markers, and parameterised decorators.

Updated 2026-06-19

Detection

pytest projects are detected from pytest.ini, pytest settings in pyproject.toml, setup.cfg, or tox.ini, and conventional Python test-file patterns such as test_*.py and *_test.py.

Parsed information

Test Chronicle records test_ functions, async test functions, file paths, line numbers, class groupings, pytest markers, and @pytest.mark.parametrize patterns.

Repository history

Parsed pytest definitions are compared across Git history to identify additions, deletions, renames, and maintenance changes with commit, contributor, date, and framework context.

Related reading

See it in Test Chronicle

Inspect a populated project or start tracking your own repository history.

Create a free account