diff options
author | Bruno Oliveira <nicoddemus@gmail.com> | 2019-10-16 19:24:41 -0300 |
---|---|---|
committer | Bruno Oliveira <nicoddemus@gmail.com> | 2019-10-30 09:43:33 -0300 |
commit | b99661b9d77fbbc9ecb70d48a61a2a88eb0cd055 (patch) | |
tree | dce1a1144889c64681b614659a2588c129de80af /doc/en/deprecations.rst | |
parent | 0225cb37c02b6760c8b1d0efcf3728f669bbfe17 (diff) | |
download | pytest-b99661b9d77fbbc9ecb70d48a61a2a88eb0cd055.tar.gz |
Introduce --report-log option
Fix #4488
Diffstat (limited to 'doc/en/deprecations.rst')
-rw-r--r-- | doc/en/deprecations.rst | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/doc/en/deprecations.rst b/doc/en/deprecations.rst index 9d01e5f23..5cf3b0903 100644 --- a/doc/en/deprecations.rst +++ b/doc/en/deprecations.rst @@ -40,15 +40,14 @@ Result log (``--result-log``) .. deprecated:: 4.0 The ``--result-log`` option produces a stream of test reports which can be -analysed at runtime. It uses a custom format which requires users to implement their own -parser, but the team believes using a line-based format that can be parsed using standard -tools would provide a suitable and better alternative. +analysed at runtime, but it uses a custom format which requires users to implement their own +parser. -The current plan is to provide an alternative in the pytest 5.0 series and remove the ``--result-log`` -option in pytest 6.0 after the new implementation proves satisfactory to all users and is deemed -stable. +The :ref:`--report-log <report_log>` option provides a more standard and extensible alternative, producing +one JSON object per-line, and should cover the same use cases. Please try it out and provide feedback. -The actual alternative is still being discussed in issue `#4488 <https://github.com/pytest-dev/pytest/issues/4488>`__. +The plan is remove the ``--result-log`` option in pytest 6.0 after ``--result-log`` proves satisfactory +to all users and is deemed stable. Removed Features |