pytest-regressions


Namepytest-regressions JSON
Version 2.6.0 PyPI version JSON
download
home_pagehttps://github.com/ESSS/pytest-regressions
SummaryEasy to use fixtures to write regression tests.
upload_time2024-12-17 13:56:49
maintainerBruno Oliveira
docs_urlNone
authorESSS
requires_python>=3.8
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ==================
pytest-regressions
==================

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

.. image:: https://img.shields.io/conda/vn/conda-forge/pytest-regressions.svg
    :target: https://anaconda.org/conda-forge/pytest-regressions

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

.. image:: https://github.com/ESSS/pytest-regressions/workflows/build/badge.svg
    :target: https://github.com/ESSS/pytest-regressions/actions?query=workflow%3Abuild

.. image:: https://img.shields.io/readthedocs/pytest-regressions.svg
    :target: https://pytest-regressions.readthedocs.io/en/latest

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
    :target: https://github.com/ambv/black

.. image:: https://results.pre-commit.ci/badge/github/ESSS/pytest-regressions/master.svg
    :target: https://results.pre-commit.ci/latest/github/ESSS/pytest-regressions/master
    :alt: pre-commit.ci status

Fixtures to write regression tests.

Features
--------

This plugin makes it simple to test general data, images, files, and numeric tables by saving *expected*
data in a *data directory* (courtesy of `pytest-datadir <https://github.com/gabrielcnr/pytest-datadir>`_) that
can be used to verify that future runs produce the same data.

See `the docs <https://pytest-regressions.readthedocs.io/en/latest>`_ for examples and API usage.


Requirements
------------

* ``pytest>=3.5``
* Python 3.6+.


Installation
------------

You can install "pytest-regressions" via `pip`_ from `PyPI`_::

    $ pip install pytest-regressions


Contributing
------------
Contributions are very welcome. Tests can be run with `tox`_, please ensure
the coverage at least stays the same before you submit a pull request.

License
-------

Distributed under the terms of the `MIT`_ license, "pytest-regressions" is free and open source software


Issues
------

If you encounter any problems, please `file an issue`_ along with a detailed description.

----

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-regressions/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

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ESSS/pytest-regressions",
    "name": "pytest-regressions",
    "maintainer": "Bruno Oliveira",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "bruno@esss.co",
    "keywords": null,
    "author": "ESSS",
    "author_email": "foss@esss.co",
    "download_url": "https://files.pythonhosted.org/packages/ba/05/78acfdf571ce4000af9d735530094b7a3276652f9c98e93feecd186c1b80/pytest_regressions-2.6.0.tar.gz",
    "platform": null,
    "description": "==================\npytest-regressions\n==================\n\n.. image:: https://img.shields.io/pypi/v/pytest-regressions.svg\n    :target: https://pypi.org/project/pytest-regressions\n    :alt: PyPI version\n\n.. image:: https://img.shields.io/conda/vn/conda-forge/pytest-regressions.svg\n    :target: https://anaconda.org/conda-forge/pytest-regressions\n\n.. image:: https://img.shields.io/pypi/pyversions/pytest-regressions.svg\n    :target: https://pypi.org/project/pytest-regressions\n    :alt: Python versions\n\n.. image:: https://github.com/ESSS/pytest-regressions/workflows/build/badge.svg\n    :target: https://github.com/ESSS/pytest-regressions/actions?query=workflow%3Abuild\n\n.. image:: https://img.shields.io/readthedocs/pytest-regressions.svg\n    :target: https://pytest-regressions.readthedocs.io/en/latest\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n    :target: https://github.com/ambv/black\n\n.. image:: https://results.pre-commit.ci/badge/github/ESSS/pytest-regressions/master.svg\n    :target: https://results.pre-commit.ci/latest/github/ESSS/pytest-regressions/master\n    :alt: pre-commit.ci status\n\nFixtures to write regression tests.\n\nFeatures\n--------\n\nThis plugin makes it simple to test general data, images, files, and numeric tables by saving *expected*\ndata in a *data directory* (courtesy of `pytest-datadir <https://github.com/gabrielcnr/pytest-datadir>`_) that\ncan be used to verify that future runs produce the same data.\n\nSee `the docs <https://pytest-regressions.readthedocs.io/en/latest>`_ for examples and API usage.\n\n\nRequirements\n------------\n\n* ``pytest>=3.5``\n* Python 3.6+.\n\n\nInstallation\n------------\n\nYou can install \"pytest-regressions\" via `pip`_ from `PyPI`_::\n\n    $ pip install pytest-regressions\n\n\nContributing\n------------\nContributions are very welcome. Tests can be run with `tox`_, please ensure\nthe coverage at least stays the same before you submit a pull request.\n\nLicense\n-------\n\nDistributed under the terms of the `MIT`_ license, \"pytest-regressions\" is free and open source software\n\n\nIssues\n------\n\nIf you encounter any problems, please `file an issue`_ along with a detailed description.\n\n----\n\nThis `pytest`_ plugin was generated with `Cookiecutter`_ along with `@hackebrot`_'s `cookiecutter-pytest-plugin`_ template.\n\n\n.. _`Cookiecutter`: https://github.com/audreyr/cookiecutter\n.. _`@hackebrot`: https://github.com/hackebrot\n.. _`MIT`: http://opensource.org/licenses/MIT\n.. _`BSD-3`: http://opensource.org/licenses/BSD-3-Clause\n.. _`GNU GPL v3.0`: http://www.gnu.org/licenses/gpl-3.0.txt\n.. _`Apache Software License 2.0`: http://www.apache.org/licenses/LICENSE-2.0\n.. _`cookiecutter-pytest-plugin`: https://github.com/pytest-dev/cookiecutter-pytest-plugin\n.. _`file an issue`: https://github.com/nicoddemus/pytest-regressions/issues\n.. _`pytest`: https://github.com/pytest-dev/pytest\n.. _`tox`: https://tox.readthedocs.io/en/latest/\n.. _`pip`: https://pypi.org/project/pip/\n.. _`PyPI`: https://pypi.org/project\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Easy to use fixtures to write regression tests.",
    "version": "2.6.0",
    "project_urls": {
        "Homepage": "https://github.com/ESSS/pytest-regressions"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "93b448edc97a835f0f9c8de5db0e1a4bc7e1ce1bb9050e269924c28f10ff0280",
                "md5": "23f09ff09bc8a53666c191e0b7c57ac7",
                "sha256": "5c4a4763415f765770449190097a99b3a8a6ebf20b24e6d90a32da6644e5d041"
            },
            "downloads": -1,
            "filename": "pytest_regressions-2.6.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "23f09ff09bc8a53666c191e0b7c57ac7",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 24347,
            "upload_time": "2024-12-17T13:56:46",
            "upload_time_iso_8601": "2024-12-17T13:56:46.843031Z",
            "url": "https://files.pythonhosted.org/packages/93/b4/48edc97a835f0f9c8de5db0e1a4bc7e1ce1bb9050e269924c28f10ff0280/pytest_regressions-2.6.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ba0578acfdf571ce4000af9d735530094b7a3276652f9c98e93feecd186c1b80",
                "md5": "db177b560844f28feff68f8e130054ad",
                "sha256": "e3dce521fac11199a2a91a1b8837974d708c7e8665b8c9668b3a721b556c8183"
            },
            "downloads": -1,
            "filename": "pytest_regressions-2.6.0.tar.gz",
            "has_sig": false,
            "md5_digest": "db177b560844f28feff68f8e130054ad",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 116150,
            "upload_time": "2024-12-17T13:56:49",
            "upload_time_iso_8601": "2024-12-17T13:56:49.561020Z",
            "url": "https://files.pythonhosted.org/packages/ba/05/78acfdf571ce4000af9d735530094b7a3276652f9c98e93feecd186c1b80/pytest_regressions-2.6.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-17 13:56:49",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ESSS",
    "github_project": "pytest-regressions",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "pytest-regressions"
}
        
Elapsed time: 0.49041s