Pytest plugin for prysk
Project description
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 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pytest_prysk-0.3.0.tar.gz
.
File metadata
- Download URL: pytest_prysk-0.3.0.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cc9835899da4e854909a0de3eed82d08bcc6d2fb133083505faee1dde63b18b |
|
MD5 | ddd23d50e78969d00903502c5a417433 |
|
BLAKE2b-256 | 47e3f9bd8552931c58fb2276580bc70bad85485451ded9599f9f9a9ed0288a6a |
File details
Details for the file pytest_prysk-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: pytest_prysk-0.3.0-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60a123458f62f141b064d205dc7014fe571552c1c624b2ecaa22ea919c2f5ec3 |
|
MD5 | 3f8bdb7f4e0266b0d9c08dc6755b7027 |
|
BLAKE2b-256 | 211765f39a9b1d67e67525d43c2c95829102971cd4e2d9e9649aee0926dccdac |