pytest-rich

pytest + rich integration (proof of concept)

MIT License

Downloads
32.6K
Stars
220
Committers
4

===========
pytest-rich

Leverage rich_ for richer test session output.

.. image:: https://img.shields.io/pypi/v/pytest-rich.svg :target: https://pypi.org/project/pytest-rich :alt: PyPI version

.. image:: https://img.shields.io/pypi/pyversions/pytest-rich.svg :target: https://pypi.org/project/pytest-rich :alt: Python versions

IMPORTANT: Proof-of-concept

This plugin is mostly a proof of concept and is looking for a maintainer which wants to adopt it.

The plugin currently outputs this:

.. image:: assets/screenshot.png :align: center

There's definitely room for improvement, and the new maintainers are free to improve on that or even change it completely.

I intend to initially add people as maintainers to this repository, and after a while eventually transfer it to another account.

The reason is that I played a bit with it and see promise in a full pytest_ + rich_ integration, but I don't have the bandwidth to maintain yet another pytest plugin, so I'm opening the code to the community in the hope that someone picks it up and gives it the treatment it deserves.

If you are interested, feel free to open an issue.

License

Distributed under the terms of the MIT_ license, "pytest-rich" is free and open source software


This pytest_ plugin was generated with Cookiecutter_ along with @hackebrot's cookiecutter-pytest-plugin template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter .. _@hackebrot: https://github.com/hackebrot .. _MIT: http://opensource.org/licenses/MIT .. _BSD-3: http://opensource.org/licenses/BSD-3-Clause .. _GNU GPL v3.0: http://www.gnu.org/licenses/gpl-3.0.txt .. _Apache Software License 2.0: http://www.apache.org/licenses/LICENSE-2.0 .. _cookiecutter-pytest-plugin: https://github.com/pytest-dev/cookiecutter-pytest-plugin .. _file an issue: https://github.com/nicoddemus/pytest-rich/issues .. _pytest: https://github.com/pytest-dev/pytest .. _tox: https://tox.readthedocs.io/en/latest/ .. _pip: https://pypi.org/project/pip/ .. _PyPI: https://pypi.org/project .. _rich: https://github.com/Textualize/rich