Metadata-Version: 2.1
Name: pytest-prysk
Version: 0.2.0
Summary: Pytest plugin for prysk
Home-page: https://nicoretti.github.io/prysk/
License: GPL-2.0-or-later
Keywords: snapshot testing,functional-tests,testing,pytest,plugin
Author: Nicola Coretti
Author-email: nico.coretti@gmail.com
Requires-Python: >=3.8,<4.0
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Framework :: Pytest
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License (GPL)
Classifier: License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Unix Shell
Classifier: Topic :: Software Development :: Testing
Requires-Dist: prysk (>=0.15.0)
Requires-Dist: pytest (>=7.3.2,<8.0.0)
Project-URL: Repository, https://github.com/prysk/pytest-prysk
Description-Content-Type: text/markdown

# 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.


