From 9fbbe3cba05fd015d9dc525ed830d2491ecb7155 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sviatoslav=20Sydorenko=20=28=D0=A1=D0=B2=D1=8F=D1=82=D0=BE?= =?UTF-8?q?=D1=81=D0=BB=D0=B0=D0=B2=20=D0=A1=D0=B8=D0=B4=D0=BE=D1=80=D0=B5?= =?UTF-8?q?=D0=BD=D0=BA=D0=BE=29?= Date: Tue, 17 Sep 2024 15:52:43 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=AA=20Use=20xunit1=20in=20pytest=20by?= =?UTF-8?q?=20default=20(#15524)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This format is contains file paths unlike the newer implementation. --- pytest.ini | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pytest.ini b/pytest.ini index afa39c0e63..7b1351ae56 100644 --- a/pytest.ini +++ b/pytest.ini @@ -11,4 +11,11 @@ markers = activity_stream_access: job_runtime_vars: fixture_args: -junit_family=xunit2 + +# https://docs.pytest.org/en/stable/usage.html#creating-junitxml-format-files +junit_duration_report = call +# xunit1 contains more metadata than xunit2 so it's better for CI UIs: +junit_family = xunit1 +junit_logging = all +junit_log_passing_tests = true +junit_suite_name = awx_test_suite