Improve CHANGELOG and docs for junit_logging

This commit is contained in:
Bruno Oliveira 2020-01-16 07:47:00 -03:00
parent ab6406b42e
commit 9298f7e4a9
2 changed files with 11 additions and 3 deletions

View File

@ -1 +1 @@
User can set ``junit_logging`` to one of ``no|log|system-out|system-err|out-err|all`` in order to put selected output in xml file. New options have been added to the :confval:`junit_logging` option: ``log``, ``out-err``, and ``all``.

View File

@ -1164,9 +1164,17 @@ passed multiple times. The expected format is ``name=value``. For example::
.. confval:: junit_logging .. confval:: junit_logging
.. versionadded:: 3.5 .. versionadded:: 3.5
.. versionchanged:: 5.4
``log``, ``all``, ``out-err`` options added.
Configures if stdout/stderr should be written to the JUnit XML file. Valid values are Configures if captured output should be written to the JUnit XML file. Valid values are:
``log``, ``out-err``, ``all``, ``system-out``, ``system-err``, and ``no`` (the default).
* ``log``: write only ``logging`` captured output.
* ``system-out``: write captured ``stdout`` contents.
* ``system-err``: write captured ``stderr`` contents.
* ``out-err``: write both captured ``stdout`` and ``stderr`` contents.
* ``all``: write captured ``logging``, ``stdout`` and ``stderr`` contents.
* ``no`` (the default): no captured output is written.
.. code-block:: ini .. code-block:: ini