File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -1015,6 +1015,20 @@ passed multiple times. The expected format is ``name=value``. For example::
10151015 This tells pytest to ignore deprecation warnings and turn all other warnings
10161016 into errors. For more information please refer to :ref: `warnings `.
10171017
1018+ .. confval :: junit_family
1019+
1020+ .. versionadded :: 4.2
1021+
1022+ Configures the format of the generated JUnit XML file. The possible options are:
1023+
1024+ * ``xunit1 `` (or ``legacy ``): produces old style output, compatible with the xunit 1.0 format. **This is the default **.
1025+ * ``xunit2 ``: produces `xunit 2.0 style output <https://github.com/jenkinsci/xunit-plugin/blob/xunit-2.3.2/src/main/resources/org/jenkinsci/plugins/xunit/types/model/xsd/junit-10.xsd >`__,
1026+ which should be more compatible with latest Jenkins versions.
1027+
1028+ .. code-block :: ini
1029+
1030+ [pytest]
1031+ junit_family = xunit2
10181032
10191033 .. confval :: junit_suite_name
10201034
You can’t perform that action at this time.
0 commit comments