~~~~~~~~~~~~~~~~
New features
------------
+ `7`_: Add a configuration switch to implicitly mark all tests.
+ `10`_: Add an option to ignore unknown dependencies.
Incompatible changes
--------------------
+ Prepend the class name to the default test name for test class
methods. This fixes a potential name conflict, see `6`_.
If your code uses test classes and you reference test methods by
their default name, you must add the class name. E.g. if you have
something like:
.. code-block:: python
class TestClass(object):
pytest.mark.dependency()
def test_a():
pass
pytest.mark.dependency(depends=["test_a"])
def test_b():
pass
you need to change this to:
.. code-block:: python
class TestClass(object):
pytest.mark.dependency()
def test_a():
pass
pytest.mark.dependency(depends=["TestClass::test_a"])
def test_b():
pass
If you override the test name in the :func:`pytest.mark.dependency`
marker, nothing need to be changed.
Bug fixes and minor changes
---------------------------
+ `11`_: show the name of the skipped test.
(Thanks asteriogonzalez!)
+ `13`_: Do not import pytest in setup.py to make it compatible with
pipenv.
+ `15`_: tests fail with pytest 3.3.0.
+ `8`_: document incompatibility with parallelization in
pytest-xdist.
+ Clarify in the documentation that Python 3.1 is not officially
supported because pytest 2.8 does not support it. There is no known
issue with Python 3.1 though.
.. _15: https://github.com/RKrahl/pytest-dependency/issues/15
.. _13: https://github.com/RKrahl/pytest-dependency/issues/13
.. _11: https://github.com/RKrahl/pytest-dependency/pull/11
.. _10: https://github.com/RKrahl/pytest-dependency/issues/10
.. _8: https://github.com/RKrahl/pytest-dependency/issues/8
.. _7: https://github.com/RKrahl/pytest-dependency/issues/7
.. _6: https://github.com/RKrahl/pytest-dependency/issues/6