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::
1015
1015
This tells pytest to ignore deprecation warnings and turn all other warnings
1016
1016
into errors. For more information please refer to :ref: `warnings `.
1017
1017
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
1018
1032
1019
1033
.. confval :: junit_suite_name
1020
1034
You can’t perform that action at this time.
0 commit comments