/pytest-richtrace

Pytest plugin to trace the stages of the testing process

Primary LanguagePython

pytest-richtrace

A pytest plugin that dumps the stages of the pytest testing process to the terminal.

It uses rich to add formatting to the output.

Installation

Install using pip

pip install pytest_richtrace

Usage

To activate the plugin add the --rich-trace option to the pytest command line.

Sample output

Full test run

Quiet output

pytest --rich-trace -q

quiet output

Normal output

pytest --rich-trace

normal output

Verbose output

pytest --rich-trace --verbose

verbose output

--collect-only output

pytest --rich-trace --collect-only

--collect-only output