1
1
_ pytest-order_ - a pytest plugin to order test execution
2
2
========================================================
3
3
4
- [ ![ PyPI version] ( https://badge.fury.io/py/pytest-order.svg )] ( https://pypi.org/project/pytest-order ) [ ![ Testsuite] ( https://github.com/pytest-dev/pytest-order/workflows/Testsuite/badge.svg )] ( https://github.com/pytest-dev/pytest-order/actions?query=workflow%3ATestsuite ) [ ![ DocBuild] ( https://github.com/pytest-dev /pytest-order/workflows/DocBuild/ badge.svg )] ( https://github.com/ pytest-dev/pytest-order/actions?query=workflow%3ADocBuild ) [ ![ codecov] ( https://codecov.io/gh/pytest-dev/pytest-order/branch/main/graph/badge.svg?token=M9PHWZSHUU )] ( https://codecov.io/gh/pytest-dev/pytest-order ) [ ![ Python version] ( https://img.shields.io/pypi/pyversions/pytest-order.svg )] ( https://pypi.org/project/pytest-order )
4
+ [ ![ PyPI version] ( https://badge.fury.io/py/pytest-order.svg )] ( https://pypi.org/project/pytest-order ) [ ![ Testsuite] ( https://github.com/pytest-dev/pytest-order/workflows/Testsuite/badge.svg )] ( https://github.com/pytest-dev/pytest-order/actions?query=workflow%3ATestsuite ) [ ![ DocBuild] ( https://readthedocs.org/projects /pytest-pyfakefs/ badge/?version=latest )] ( https://pytest-pyfakefs.readthedocs.io/en/latest/?badge=latest ) [ ![ codecov] ( https://codecov.io/gh/pytest-dev/pytest-order/branch/main/graph/badge.svg?token=M9PHWZSHUU )] ( https://codecov.io/gh/pytest-dev/pytest-order ) [ ![ Python version] ( https://img.shields.io/pypi/pyversions/pytest-order.svg )] ( https://pypi.org/project/pytest-order )
5
5
6
6
` pytest-order ` is a pytest plugin that allows you to customize the order in which
7
7
your tests are run. It uses the marker ` order ` that defines when a specific
@@ -19,8 +19,8 @@ versions >= 5.0.0 for all versions except Python 3.10, and for pytest >=
19
19
Documentation
20
20
-------------
21
21
Apart from this overview, the following information is available:
22
- - usage documentation for the [ latest release] ( https://pytest-dev.github .io/pytest-order /stable/ )
23
- - usage documentation for the [ current main branch] ( https://pytest-dev.github .io/pytest-order/dev / )
22
+ - usage documentation for the [ latest release] ( https://pytest-order.readthedocs .io/en /stable/ )
23
+ - usage documentation for the [ current main branch] ( https://pytest-order.readthedocs .io/en/latest / )
24
24
- most examples shown in the documentation can also be found in the
25
25
[ repository] ( https://github.com/pytest-dev/pytest-order/tree/main/example )
26
26
- the [ Release Notes] ( https://github.com/pytest-dev/pytest-order/blob/main/CHANGELOG.md )
@@ -31,23 +31,23 @@ Apart from this overview, the following information is available:
31
31
Features
32
32
--------
33
33
` pytest-order ` provides the following features:
34
- - ordering of tests [ by index] ( https://pytest-dev.github .io/pytest-order /stable/usage.html#ordering-by-numbers )
34
+ - ordering of tests [ by index] ( https://pytest-order.readthedocs .io/en /stable/usage.html#ordering-by-numbers )
35
35
- ordering of tests both from the start and from the end (via negative
36
36
index)
37
- - ordering of tests [ relative to each other] ( https://pytest-dev.github .io/pytest-order /stable/usage.html#order-relative-to-other-tests )
37
+ - ordering of tests [ relative to each other] ( https://pytest-order.readthedocs .io/en /stable/usage.html#order-relative-to-other-tests )
38
38
(via the ` before ` and ` after ` marker attributes)
39
39
- session-, module- and class-scope ordering via the
40
- [ order-scope] ( https://pytest-dev.github .io/pytest-order /stable/configuration.html#order-scope ) option
40
+ [ order-scope] ( https://pytest-order.readthedocs .io/en /stable/configuration.html#order-scope ) option
41
41
- directory scope ordering via the
42
- [ order-scope-level] ( https://pytest-dev.github .io/pytest-order /stable/configuration.html#order-scope-level ) option
42
+ [ order-scope-level] ( https://pytest-order.readthedocs .io/en /stable/configuration.html#order-scope-level ) option
43
43
- hierarchical module and class-level ordering via the
44
- [ order-group-scope] ( https://pytest-dev.github .io/pytest-order /stable/configuration.html#order-group-scope ) option
44
+ [ order-group-scope] ( https://pytest-order.readthedocs .io/en /stable/configuration.html#order-group-scope ) option
45
45
- ordering tests with ` pytest-dependency ` markers if using the
46
- [ order-dependencies] ( https ://pytest-dev.github .io/pytest-order /stable/configuration.html#order-dependencies) option,
46
+ [ order-dependencies] ( hhttps ://pytest-order.readthedocs .io/en /stable/configuration.html#order-dependencies) option,
47
47
more information about ` pytest-dependency ` compatibility
48
- [ here] ( https://pytest-dev.github .io/pytest-order /stable/other_plugins.html#relationship-with-pytest-dependency )
48
+ [ here] ( https://pytest-order.readthedocs .io/en /stable/other_plugins.html#relationship-with-pytest-dependency )
49
49
- sparse ordering of tests via the
50
- [ sparse-ordering] ( https://pytest-dev.github .io/pytest-order /stable/configuration.html#sparse-ordering ) option
50
+ [ sparse-ordering] ( https://pytest-order.readthedocs .io/en /stable/configuration.html#sparse-ordering ) option
51
51
52
52
Overview
53
53
--------
0 commit comments