15
15
pytest-dependency – Manage dependencies of tests
16
16
================================================
17
17
18
- This pytest plugin manages dependencies of tests. It allows to mark
19
- some tests as dependent from other tests. These tests will then be
20
- skipped if any of the dependencies did fail or has been skipped.
21
-
22
-
23
- Download
24
- --------
25
-
26
- The latest release version can be found `at PyPI `__.
27
-
28
- .. __ : `PyPI site `_
29
-
30
-
31
- System requirements
32
- -------------------
33
-
34
- + Python 3.4 and newer.
35
- + `setuptools `_.
36
- + `pytest `_ 3.7.0 or newer.
37
-
38
- Optional library packages:
39
-
40
- + `git-props `_
41
-
42
- This package is used to extract some metadata such as the version
43
- number out of git, the version control system. All releases embed
44
- that metadata in the distribution. So this package is only needed
45
- to build out of the plain development source tree as cloned from
46
- GitHub, but not to build a release distribution.
47
-
48
- + `distutils-pytest `_ >= 0.2
49
-
50
- Only needed to run the test suite.
51
-
52
-
53
- Installation
54
- ------------
55
-
56
- 1. Download the sources, unpack, and change into the source directory.
57
-
58
- 2. Build (optional)::
59
-
60
- $ python setup.py build
61
-
62
- 3. Test (optional)::
63
-
64
- $ python setup.py test
65
-
66
- 4. Install::
67
-
68
- $ python setup.py install
69
-
70
- The last step might require admin privileges in order to write into
71
- the site-packages directory of your Python installation.
72
-
18
+ This module is a plugin for the popular Python testing framework
19
+ `pytest `_. It manages dependencies of tests: you may mark some tests
20
+ as dependent from other tests. These tests will then be skipped if
21
+ any of the dependencies did fail or has been skipped.
73
22
74
23
Documentation
75
24
-------------
@@ -87,7 +36,7 @@ Copyright and License
87
36
88
37
- Copyright 2013–2015
89
38
Helmholtz-Zentrum Berlin für Materialien und Energie GmbH
90
- - Copyright 2016–2020 Rolf Krahl
39
+ - Copyright 2016–2023 Rolf Krahl
91
40
92
41
Licensed under the `Apache License `_, Version 2.0 (the "License"); you
93
42
may not use this file except in compliance with the License.
@@ -99,10 +48,6 @@ implied. See the License for the specific language governing
99
48
permissions and limitations under the License.
100
49
101
50
102
- .. _PyPI site : https://pypi.org/project/pytest-dependency/
103
- .. _setuptools : http://pypi.python.org/pypi/setuptools/
104
51
.. _pytest : http://pytest.org/
105
- .. _git-props : https://github.com/RKrahl/git-props
106
- .. _distutils-pytest : https://github.com/RKrahl/distutils-pytest
107
52
.. _Read the Docs site : https://pytest-dependency.readthedocs.io/
108
53
.. _Apache License : https://www.apache.org/licenses/LICENSE-2.0
0 commit comments