Skip to content

Commit 64c52d6

Browse files
committed
Move changelog into the documentation.
1 parent faddf86 commit 64c52d6

File tree

4 files changed

+87
-99
lines changed

4 files changed

+87
-99
lines changed

CHANGES

Lines changed: 0 additions & 98 deletions
This file was deleted.

MANIFEST.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
include CHANGES
21
include LICENSE.txt
32
include MANIFEST.in
43
include README.rst

doc/src/changelog.rst

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
History of changes to pytest-dependency
2+
=======================================
3+
4+
0.3.2 (2018-01-17)
5+
Bug fixes and minor changes
6+
+ Issue #5: properly register the dependency marker.
7+
+ Do not add the documentation to the source distribution.
8+
9+
0.3.1 (2017-12-26)
10+
Bug fixes and minor changes
11+
+ Issue #17: Move the online documentation to Read the Docs
12+
+ Some improvements in the documentation.
13+
14+
0.3 (2017-12-26)
15+
New features
16+
+ Issue #7: Add a configuration switch to implicitly mark all
17+
tests.
18+
+ Issue #10: Add an option to ignore unknown dependencies.
19+
20+
Incompatible changes
21+
+ Prepend the class name to the default test name for test class
22+
methods. This fixes a potential name conflict, see Issue #6.
23+
24+
If your code uses test classes and you reference test methods
25+
by their default name, you must add the class name. E.g. if
26+
you have something like:
27+
28+
.. code-block:: python
29+
30+
class TestClass(object):
31+
32+
@pytest.mark.dependency()
33+
def test_a():
34+
pass
35+
36+
@pytest.mark.dependency(depends=["test_a"])
37+
def test_b():
38+
pass
39+
40+
you need to change this to:
41+
42+
.. code-block:: python
43+
44+
class TestClass(object):
45+
46+
@pytest.mark.dependency()
47+
def test_a():
48+
pass
49+
50+
@pytest.mark.dependency(depends=["TestClass::test_a"])
51+
def test_b():
52+
pass
53+
54+
If you override the test name in the pytest.mark.dependency()
55+
marker, nothing need to be changed.
56+
57+
Bug fixes and minor changes
58+
59+
+ PR #11: show the name of the skipped test (thanks
60+
asteriogonzalez).
61+
62+
+ Issue #13: Do not import pytest in setup.py to make it
63+
compatible with pipenv.
64+
65+
+ Issue #15: tests fail with pytest 3.3.0.
66+
67+
+ Issue #8: document incompatibility with parallelization in
68+
pytest-xdist.
69+
70+
+ Clarify in the documentation that Python 3.1 is not officially
71+
supported because pytest 2.8 does not support it. There is no
72+
known issue with Python 3.1 though.
73+
74+
0.2 (2017-05-28)
75+
New features
76+
+ Issue #2: Add documentation.
77+
+ Issue #4: Add a depend() function to add a dependency to a
78+
test at runtime.
79+
80+
0.1 (2017-01-29)
81+
+ Initial release as an independent Python module.
82+
83+
This code was first developed as part of a larger package,
84+
python-icat, at Helmholtz-Zentrum Berlin für Materialien und
85+
Energie, see
86+
https://icatproject.org/user-documentation/python-icat/

doc/src/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ Content of the documentation
1616
usage
1717
advanced
1818
configuration
19+
changelog
1920
reference

0 commit comments

Comments
 (0)