Skip to main content

py.test plugin to store test expectations and mark tests based on them

Project description

A py.test plugin that stores test expectations by saving the set of failing tests, allowing them to be marked as xfail when running them in future. The tests expectations are stored such that they can be distributed alongside the tests. However, note that test expectations can only be reliably shared between Python 2 and Python 3 if they only use ASCII characters in their node ids: this likely isn’t a limitation if tests are using the normal Python format, as Python 2 only allows ASCII characters in identifiers.

Compatibility

We follow semver. Our public API is defined by the expectation file and the command line parameters.

In other words: for a given major release (e.g., 1.y.z), expectation files and command line parameters will remain compatible. Across major versions, we’ll try to break as little as possible. All pre-release (0.y.z) versions should be compatible with each other, but are unlikely to be compatible with 1.0.0.

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-expect-1.0.tar.gz (3.0 kB view details)

Uploaded Source

File details

Details for the file pytest-expect-1.0.tar.gz.

File metadata

  • Download URL: pytest-expect-1.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pytest-expect-1.0.tar.gz
Algorithm Hash digest
SHA256 656d6f645b08a476d6397ad692b43fa8a377d244056e4dbaf912411ecccd7599
MD5 122e666448a72fb525d9e433e9e6e291
BLAKE2b-256 da599da7142006b8032d025a541aeaa5c96b0354c8692dcd3420935ab4ac4639

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