===============
pytest-beeprint
.. image:: https://img.shields.io/pypi/pyversions/pytest-beeprint.svg
:target: https://pypi.org/project/pytest-beeprint
:alt: Python versions
Better diffs in pytest
_ assertion error messages using beeprint
_ and ICDiff
_.
Usage
pip install pytest-beeprint
Once you've installed it, pytest
will produce nice colourised diffs for any assert ==
:
.. image:: example_output.png?raw=true
:alt: example colourised diff
Issues and PRs welcome.
Thanks to the maintainers of pytest-icdiff
, ICDiff
and also beeprint
_ !
License
Distributed under the terms of the Unlicense
_ license, "pytest-beeprint" 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
.. _cookiecutter-pytest-plugin
: https://github.com/pytest-dev/cookiecutter-pytest-plugin
.. _pytest
: https://github.com/pytest-dev/pytest
.. _Unlicense
: http://unlicense.orgf
.. _pytest-icdiff
: https://github.com/hjwp/pytest-icdiff
.. _icdiff
: https://www.jefftk.com/icdiff
.. _beeprint
: https://github.com/panyanyany/beeprint
History
0.1.2 (2023-07-04)
- Fix how to set cols size for tests
0.1.1 (2023-06-08)
0.1.0 (2023-06-09)
* Forked from: https://github.com/hjwp/pytest-icdiff
* Changed to use beeprint instead
* Fix Tests