File: README.rst

package info (click to toggle)
pytest-expect 1.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 64 kB
  • ctags: 27
  • sloc: python: 191; makefile: 4
file content (25 lines) | stat: -rw-r--r-- 1,060 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
pytest-expect
=============

A `py.test <http://pytest.org/latest/>`_ 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 <http://semver.org/spec/v2.0.0.html>`_. 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.