From 9fbbe3cba05fd015d9dc525ed830d2491ecb7155 Mon Sep 17 00:00:00 2001 From: "Sviatoslav Sydorenko (Святослав Сидоренко)" Date: Tue, 17 Sep 2024 15:52:43 +0200 Subject: 🧪 Use xunit1 in pytest by default (#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(-) (limited to 'pytest.ini') 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 -- cgit v1.2.3