Change deprecation type of --result-log to PytestDeprecationWarning

It was decided to deprecate this on a later date (see discussion in #4447)
This commit is contained in:
Bruno Oliveira
2018-11-22 21:14:53 -02:00
parent 06dc6e3490
commit b05061dcd2
5 changed files with 15 additions and 12 deletions
+4
View File
@@ -303,6 +303,10 @@ Result log (``--result-log``)
The ``--resultlog`` command line option has been deprecated: it is little used
and there are more modern and better alternatives, for example `pytest-tap <https://tappy.readthedocs.io/en/latest/>`_.
This feature will be effectively removed in pytest 4.0 as the team intends to include a better alternative in the core.
If you have any concerns, please don't hesitate to `open an issue <https://github.com/pytest-dev/pytest/issues>`__.
Removed Features
----------------
+3 -7
View File
@@ -483,14 +483,10 @@ Creating resultlog format files
.. deprecated:: 3.0
This option is rarely used and is scheduled for removal in 4.0.
This option is rarely used and is scheduled for removal in 5.0.
An alternative for users which still need similar functionality is to use the
`pytest-tap <https://pypi.org/project/pytest-tap/>`_ plugin which provides
a stream of test data.
If you have any concerns, please don't hesitate to
`open an issue <https://github.com/pytest-dev/pytest/issues>`_.
See `the deprecation docs <https://docs.pytest.org/en/latest/deprecations.html#result-log-result-log>`__
for more information.
To create plain-text machine-readable result files you can issue::