summaryrefslogtreecommitdiffstats
path: root/pytest.ini
diff options
context:
space:
mode:
authorSviatoslav Sydorenko (Святослав Сидоренко) <wk@sydorenko.org.ua>2024-09-17 15:52:43 +0200
committerGitHub <noreply@github.com>2024-09-17 15:52:43 +0200
commit9fbbe3cba05fd015d9dc525ed830d2491ecb7155 (patch)
treed7eec79f39cbb1b14f5d6bc9f02a14a0cfd3684e /pytest.ini
parent🧪💅 Unignore errors in `coveragerc` (#15523) (diff)
downloadawx-9fbbe3cba05fd015d9dc525ed830d2491ecb7155.tar.xz
awx-9fbbe3cba05fd015d9dc525ed830d2491ecb7155.zip
🧪 Use xunit1 in pytest by default (#15524)
This format is contains file paths unlike the newer implementation.
Diffstat (limited to 'pytest.ini')
-rw-r--r--pytest.ini9
1 files changed, 8 insertions, 1 deletions
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