|
1 |
| -pytest-order [](https://badge.fury.io/py/pytest-order) [](https://travis-ci.org/mrbean-bremen/pytest-order) [](https://img.shields.io/pypi/pyversions/pytest-order.svg) |
2 |
| -============ |
| 1 | +_pytest-order_ - a pytest plugin to order test execution |
| 2 | +======================================================== |
| 3 | + |
| 4 | + [](https://badge.fury.io/py/pytest-order) [](https://travis-ci.org/mrbean-bremen/pytest-order) [](https://coveralls.io/github/badges/shields?branch=master) [](https://img.shields.io/pypi/pyversions/pytest-order.svg) |
| 5 | + |
3 | 6 | `pytest-order` is a pytest plugin that allows you to customize the order in which
|
4 | 7 | your tests are run. It uses the marker `order` that defines when a specific
|
5 | 8 | test shall be run relative to the other tests.
|
6 | 9 |
|
| 10 | +Documentation |
| 11 | +------------- |
| 12 | +Apart from this overview, the following information is available: |
| 13 | +- usage documentation for the [latest release](https://mrbean-bremen.github.io/pytest-order/stable/) |
| 14 | +- usage documentation for the [current master](https://mrbean-bremen.github.io/pytest-order/dev/) |
| 15 | +- the [Release Notes](https://github.com/mrbean-bremen/pytest-order/blob/master/CHANGELOG.md) |
| 16 | + with a list of changes in the latest versions |
| 17 | + |
| 18 | +History |
| 19 | +------- |
7 | 20 | This is a fork of [pytest-ordering](https://github.com/ftobia/pytest-ordering).
|
8 | 21 | That project is not maintained anymore, and there are several helpful PRs
|
9 | 22 | that are now integrated into `pytest-order`. The idea and most of the code
|
10 | 23 | has been created by Frank Tobia, the author of that plugin. In case
|
11 | 24 | `pytest-ordering` is revived, this project will be obsolete.
|
12 | 25 |
|
13 |
| -_Note:_ `pytest-order` is not compatible with `pytest-ordering` due to the |
| 26 | +Compatibility to `pytest_ordering` |
| 27 | +--------------------------------- |
| 28 | +`pytest-order` is **not** compatible with `pytest-ordering` due to the |
14 | 29 | changed marker name (`order` instead of `run`). Only the `order`
|
15 | 30 | marker is supported, support for all additional markers has been removed for
|
16 | 31 | consistence (see [this issue](https://github.com/ftobia/pytest-ordering/issues/38)).
|
17 | 32 |
|
18 |
| -More information can be found in the documentation: |
19 |
| -- for the [latest release](https://mrbean-bremen.github.io/pytest-order/stable/) |
20 |
| -- for the [current master](https://mrbean-bremen.github.io/pytest-order/dev/) |
21 |
| - |
22 |
| -_From the original project:_ |
| 33 | +Overview |
| 34 | +-------- |
| 35 | +_(from the original project)_ |
23 | 36 |
|
24 | 37 | Have you ever wanted to easily run one of your tests before any others run?
|
25 | 38 | Or run some tests last? Or run this one test before that other test? Or
|
|
0 commit comments