pytest-regressions


Namepytest-regressions JSON
Version 2.5.0 PyPI version JSON
download
home_pagehttps://github.com/ESSS/pytest-regressions
SummaryEasy to use fixtures to write regression tests.
upload_time2023-08-31 16:35:53
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": "",
    "author": "ESSS",
    "author_email": "foss@esss.co",
    "download_url": "https://files.pythonhosted.org/packages/33/c6/2b6088711d0a9d87b82a7e6ac84c6cb59aab3bf37778bb25645590a5729c/pytest-regressions-2.5.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.5.0",
    "project_urls": {
        "Homepage": "https://github.com/ESSS/pytest-regressions"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0c93086651842707118284e93387355efc5cbbce28bace9265b450d67be55fd8",
                "md5": "58d195dcf192f4eabdf54a70b30f9135",
                "sha256": "8c4e5c4037325fdb0825bc1fdcb75e17e03adf3407049f0cb704bb996d496255"
            },
            "downloads": -1,
            "filename": "pytest_regressions-2.5.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "58d195dcf192f4eabdf54a70b30f9135",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 23844,
            "upload_time": "2023-08-31T16:35:51",
            "upload_time_iso_8601": "2023-08-31T16:35:51.592453Z",
            "url": "https://files.pythonhosted.org/packages/0c/93/086651842707118284e93387355efc5cbbce28bace9265b450d67be55fd8/pytest_regressions-2.5.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "33c62b6088711d0a9d87b82a7e6ac84c6cb59aab3bf37778bb25645590a5729c",
                "md5": "755389c671a1905d31fa327b836bd07b",
                "sha256": "818c7884c1cff3babf89eebb02cbc27b307856b1985427c24d52cb812a106fd9"
            },
            "downloads": -1,
            "filename": "pytest-regressions-2.5.0.tar.gz",
            "has_sig": false,
            "md5_digest": "755389c671a1905d31fa327b836bd07b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 113615,
            "upload_time": "2023-08-31T16:35:53",
            "upload_time_iso_8601": "2023-08-31T16:35:53.018060Z",
            "url": "https://files.pythonhosted.org/packages/33/c6/2b6088711d0a9d87b82a7e6ac84c6cb59aab3bf37778bb25645590a5729c/pytest-regressions-2.5.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-31 16:35:53",
    "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.10552s