Skip to content

Repository files navigation

Modern Pytest

uv Ruff GitHub License PyPI - Python Version PyPI - Version

This plugin incorporates ideas from the implementation of pytest-rich and takes inspiration from the output style of nextest.

With the plugin currently outputs this:

Output width

On a terminal the output is sized to fit it. When there is no terminal to measure — CI logs, pipes, tee — the width is read from COLUMNS, or from PYTEST_MODERN_WIDTH to set it without affecting other tools, falling back to 200 columns when neither is set.

COLUMNS=140 pytest

About

A more modern pytest

Resources

Stars

36 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages