Skip to main content

py.test plugin to make the test failing regardless of pytest.mark.xfail

Project description

# pytest-forcefail

pytest-forcefail is a plugin providing

  • the method pytest_forcefail.forcefail

  • the exception class pytest_forcefail.ForceFailed

These two will make the test failing regardless of pytest.mark.xfail.

See test_forcefail.py for example.

Binary distribution: https://pypi.org/project/pytest-forcefail/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest-forcefail-0.0.0.3.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file pytest-forcefail-0.0.0.3.tar.gz.

File metadata

File hashes

Hashes for pytest-forcefail-0.0.0.3.tar.gz
Algorithm Hash digest
SHA256 f5df3075453f3023096517ee375e21fae42834cfbf6ebd291d9477cdf7a47dee
MD5 6a7ee4c5f04e701b907ddeca544184cf
BLAKE2b-256 54008e8d20266dea507facc5fb4d25a487c544b8d9f32e54a72f68d9e0af4d18

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page