pytest-prysk


Namepytest-prysk JSON
Version 0.3.0 PyPI version JSON
download
home_pagehttps://nicoretti.github.io/prysk/
SummaryPytest plugin for prysk
upload_time2024-03-12 16:53:32
maintainer
docs_urlNone
authorNicola Coretti
requires_python>=3.8,<4.0
licenseGPL-2.0-or-later
keywords snapshot testing functional-tests testing pytest plugin
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Pytest-Prysk

With the `pytest-prysk` plugin, prysk tests can be executed using pytests.

This enables the usage of various pytests features like:

* The pytest test collection mechanisms
* Expression based test selection using the `-k` flag
* The pytest test reporting
* Making use of other [pytest plugins](https://docs.pytest.org/en/7.2.x/reference/plugin_list.html) like `pytest-xdist` for parallel test execution


## How to install the pytest plugin
In order to install prysk with pytest support, the extra **pytest-plugin**,
needs to be enabled. How this can be achieved depends or your package
management tool. Here are some examples:

* `pip install prysk-pytest`
* `poetry add pytest-prysk`


## How to run prysk tests with pytest

Once you installed the pytest-prysk plugin, it will use pytest mechanisms to collect your prysk tests.
So usually a simple `pytest` should do the trick.

Attention: In case you want to prevent pytest from running any prysk test just pass `-p no:prysk` to the pytest cli.



            

Raw data

            {
    "_id": null,
    "home_page": "https://nicoretti.github.io/prysk/",
    "name": "pytest-prysk",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "",
    "keywords": "snapshot testing,functional-tests,testing,pytest,plugin",
    "author": "Nicola Coretti",
    "author_email": "nico.coretti@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/47/e3/f9bd8552931c58fb2276580bc70bad85485451ded9599f9f9a9ed0288a6a/pytest_prysk-0.3.0.tar.gz",
    "platform": null,
    "description": "# Pytest-Prysk\n\nWith the `pytest-prysk` plugin, prysk tests can be executed using pytests.\n\nThis enables the usage of various pytests features like:\n\n* The pytest test collection mechanisms\n* Expression based test selection using the `-k` flag\n* The pytest test reporting\n* Making use of other [pytest plugins](https://docs.pytest.org/en/7.2.x/reference/plugin_list.html) like `pytest-xdist` for parallel test execution\n\n\n## How to install the pytest plugin\nIn order to install prysk with pytest support, the extra **pytest-plugin**,\nneeds to be enabled. How this can be achieved depends or your package\nmanagement tool. Here are some examples:\n\n* `pip install prysk-pytest`\n* `poetry add pytest-prysk`\n\n\n## How to run prysk tests with pytest\n\nOnce you installed the pytest-prysk plugin, it will use pytest mechanisms to collect your prysk tests.\nSo usually a simple `pytest` should do the trick.\n\nAttention: In case you want to prevent pytest from running any prysk test just pass `-p no:prysk` to the pytest cli.\n\n\n",
    "bugtrack_url": null,
    "license": "GPL-2.0-or-later",
    "summary": "Pytest plugin for prysk",
    "version": "0.3.0",
    "project_urls": {
        "Homepage": "https://nicoretti.github.io/prysk/",
        "Repository": "https://github.com/prysk/pytest-prysk"
    },
    "split_keywords": [
        "snapshot testing",
        "functional-tests",
        "testing",
        "pytest",
        "plugin"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "211765f39a9b1d67e67525d43c2c95829102971cd4e2d9e9649aee0926dccdac",
                "md5": "3f8bdb7f4e0266b0d9c08dc6755b7027",
                "sha256": "60a123458f62f141b064d205dc7014fe571552c1c624b2ecaa22ea919c2f5ec3"
            },
            "downloads": -1,
            "filename": "pytest_prysk-0.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3f8bdb7f4e0266b0d9c08dc6755b7027",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 10806,
            "upload_time": "2024-03-12T16:53:30",
            "upload_time_iso_8601": "2024-03-12T16:53:30.932057Z",
            "url": "https://files.pythonhosted.org/packages/21/17/65f39a9b1d67e67525d43c2c95829102971cd4e2d9e9649aee0926dccdac/pytest_prysk-0.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "47e3f9bd8552931c58fb2276580bc70bad85485451ded9599f9f9a9ed0288a6a",
                "md5": "ddd23d50e78969d00903502c5a417433",
                "sha256": "5cc9835899da4e854909a0de3eed82d08bcc6d2fb133083505faee1dde63b18b"
            },
            "downloads": -1,
            "filename": "pytest_prysk-0.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "ddd23d50e78969d00903502c5a417433",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4.0",
            "size": 10055,
            "upload_time": "2024-03-12T16:53:32",
            "upload_time_iso_8601": "2024-03-12T16:53:32.165068Z",
            "url": "https://files.pythonhosted.org/packages/47/e3/f9bd8552931c58fb2276580bc70bad85485451ded9599f9f9a9ed0288a6a/pytest_prysk-0.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-12 16:53:32",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "prysk",
    "github_project": "pytest-prysk",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "pytest-prysk"
}
        
Elapsed time: 0.21124s