Metadata-Version: 2.4
Name: pytest-rich
Version: 0.3.0
Summary: Leverage rich for richer test session output
Home-page: https://github.com/Jamorim-esss/pytest-rich
Author: Bruno Oliveira
Author-email: nicoddemus@gmail.com
Maintainer: jamorim
Maintainer-email: jamorim@esss.com
License: MIT
Classifier: Development Status :: 4 - Beta
Classifier: Framework :: Pytest
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Testing
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Operating System :: OS Independent
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.10
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: attrs
Requires-Dist: pytest>=7.0
Requires-Dist: rich
Requires-Dist: typing_extensions
Provides-Extra: dev
Requires-Dist: black; extra == "dev"
Requires-Dist: flake8; extra == "dev"
Requires-Dist: freezegun; extra == "dev"
Requires-Dist: mypy; extra == "dev"
Requires-Dist: pre-commit; extra == "dev"
Requires-Dist: reorder-python-imports; extra == "dev"
Requires-Dist: tox; extra == "dev"
Requires-Dist: types-attrs; extra == "dev"
Dynamic: license-file

===========
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

Usage
=====

With ``pytest --rich`` the plugin currently outputs this:

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

You might also take a look at `pytest-modern <https://github.com/zen-xu/pytest-modern>`__ instead.

IMPORTANT: Proof-of-concept
---------------------------

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

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/Jamorim-esss/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
