Skip to main content
Help us improve Python packaging – donate today!

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.

Release history Release notifications

This version
History Node

1.1.0

History Node

1.0.1

History Node

1.0

History Node

1.0rc1

History Node

0.11.0

History Node

0.10.0

History Node

0.9.1

History Node

0.9

History Node

0.9-dev

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pytest-expect-1.1.0.tar.gz (3.6 kB) Copy SHA256 hash SHA256 Source None Apr 21, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page