@@ -3,48 +3,61 @@ History of changes to pytest-dependency
3
3
4
4
dev (not yet released)
5
5
New features
6
- + Issue #3, PR #35: add a scope to dependencies.
6
+ + `#3 `_, `#35 `_: add a scope to dependencies.
7
+ (Thanks to JoeSc and selenareneephillips!)
7
8
8
9
Bug fixes and minor changes
9
- + Issue #34: failing test with pytest 4.2.0 and newer.
10
+ + ` #34 `_ : failing test with pytest 4.2.0 and newer.
10
11
+ Use setuptools_scm to manage the version number.
11
12
13
+ .. _#3 : https://github.com/RKrahl/pytest-dependency/issues/3
14
+ .. _#34 : https://github.com/RKrahl/pytest-dependency/issues/34
15
+ .. _#35 : https://github.com/RKrahl/pytest-dependency/pull/35
16
+
12
17
0.4 (2018-12-02)
13
18
Incompatible changes
14
19
+ Require pytest version 3.6.0 or newer. This implicitly drops
15
- support for Python 2.6 and for Python 3.3 and older.
20
+ support for Python 2.6 and for Python 3.3 and older.
16
21
17
22
Bug fixes and minor changes
18
- + Issue #24: get_marker no longer available in pytest 4.0.0.
19
- (Thanks to Rogdham for the PR.)
20
- + Issue #28: Applying markers directly in parametrize is no
21
- longer available in 4.0.
23
+ + `#24 `_, `#25 `_: get_marker no longer available in pytest 4.0.0.
24
+ (Thanks to Rogdham!)
25
+ + `#28 `_: Applying markers directly in parametrize is no
26
+ longer available in 4.0.
27
+
28
+ .. _#24 : https://github.com/RKrahl/pytest-dependency/issues/24
29
+ .. _#25 : https://github.com/RKrahl/pytest-dependency/pull/25
30
+ .. _#28 : https://github.com/RKrahl/pytest-dependency/issues/28
22
31
23
32
0.3.2 (2018-01-17)
24
33
Bug fixes and minor changes
25
- + Issue #5 : properly register the dependency marker.
34
+ + ` #5 `_ : properly register the dependency marker.
26
35
+ Do not add the documentation to the source distribution.
27
36
37
+ .. _#5 : https://github.com/RKrahl/pytest-dependency/issues/5
38
+
28
39
0.3.1 (2017-12-26)
29
40
Bug fixes and minor changes
30
- + Issue #17: Move the online documentation to Read the Docs
41
+ + ` #17 `_ : Move the online documentation to Read the Docs.
31
42
+ Some improvements in the documentation.
32
43
44
+ .. _#17 : https://github.com/RKrahl/pytest-dependency/issues/17
45
+
33
46
0.3 (2017-12-26)
34
47
New features
35
- + Issue #7 : Add a configuration switch to implicitly mark all
36
- tests.
37
- + Issue #10: Add an option to ignore unknown dependencies.
48
+ + ` #7 `_ : Add a configuration switch to implicitly mark all
49
+ tests.
50
+ + ` #10 `_ : Add an option to ignore unknown dependencies.
38
51
39
52
Incompatible changes
40
53
+ Prepend the class name to the default test name for test class
41
- methods. This fixes a potential name conflict, see Issue #6 .
54
+ methods. This fixes a potential name conflict, see ` #6 `_ .
42
55
43
56
If your code uses test classes and you reference test methods
44
57
by their default name, you must add the class name. E.g. if
45
58
you have something like:
46
59
47
- .. code-block :: python
60
+ .. code-block :: python
48
61
49
62
class TestClass (object ):
50
63
@@ -58,7 +71,7 @@ dev (not yet released)
58
71
59
72
you need to change this to:
60
73
61
- .. code-block :: python
74
+ .. code-block :: python
62
75
63
76
class TestClass (object ):
64
77
@@ -74,23 +87,34 @@ dev (not yet released)
74
87
marker, nothing need to be changed.
75
88
76
89
Bug fixes and minor changes
77
- + PR #11: show the name of the skipped test (thanks
78
- asteriogonzalez).
79
- + Issue #13: Do not import pytest in setup.py to make it
90
+ + ` #11 `_ : show the name of the skipped test.
91
+ (Thanks asteriogonzalez!)
92
+ + ` #13 `_ : Do not import pytest in setup.py to make it
80
93
compatible with pipenv.
81
- + Issue #15: tests fail with pytest 3.3.0.
82
- + Issue #8 : document incompatibility with parallelization in
94
+ + ` #15 `_ : tests fail with pytest 3.3.0.
95
+ + ` #8 `_ : document incompatibility with parallelization in
83
96
pytest-xdist.
84
97
+ Clarify in the documentation that Python 3.1 is not officially
85
- supported because pytest 2.8 does not support it. There is no
86
- known issue with Python 3.1 though.
98
+ supported because pytest 2.8 does not support it. There is no
99
+ known issue with Python 3.1 though.
100
+
101
+ .. _#6 : https://github.com/RKrahl/pytest-dependency/issues/6
102
+ .. _#7 : https://github.com/RKrahl/pytest-dependency/issues/7
103
+ .. _#8 : https://github.com/RKrahl/pytest-dependency/issues/8
104
+ .. _#10 : https://github.com/RKrahl/pytest-dependency/issues/10
105
+ .. _#11 : https://github.com/RKrahl/pytest-dependency/pull/11
106
+ .. _#13 : https://github.com/RKrahl/pytest-dependency/issues/13
107
+ .. _#15 : https://github.com/RKrahl/pytest-dependency/issues/15
87
108
88
109
0.2 (2017-05-28)
89
110
New features
90
- + Issue #2 : Add documentation.
91
- + Issue #4 : Add a depend() function to add a dependency to a
111
+ + ` #2 `_ : Add documentation.
112
+ + ` #4 `_ : Add a depend() function to add a dependency to a
92
113
test at runtime.
93
114
115
+ .. _#2 : https://github.com/RKrahl/pytest-dependency/issues/2
116
+ .. _#4 : https://github.com/RKrahl/pytest-dependency/issues/4
117
+
94
118
0.1 (2017-01-29)
95
119
+ Initial release as an independent Python module.
96
120
0 commit comments