Skip to main content

py.test plugin to make the test failing regardless of pytest.makr.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.

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.2.tar.gz (1.8 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for pytest-forcefail-0.0.0.2.tar.gz
Algorithm Hash digest
SHA256 7c55056965c9d8e65d8d94a3380430d30efff3c547ff3ba744a932021d2a4e0d
MD5 6ed5e638f8389f290fdf1de50f162d4e
BLAKE2b-256 9b1905e5403c6237435d4da9f16806b4d80d4672ececb67d87f4ef9f78b00df8

See more details on using hashes here.

Supported by

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