1[pytest]
2addopts =
3    # `pytest-xdist`:
4    -n auto
5
6    --durations=10
7    -v
8    -ra
9    # Show local variables in tracebacks
10    --showlocals
11    # https://docs.pytest.org/en/stable/doctest.html
12    --doctest-modules
13    --junitxml=.test-results/pytest/results.xml
14
15    # Fail on non-existing markers:
16    --strict-markers
17
18doctest_optionflags = ALLOW_UNICODE ELLIPSIS
19# Marks tests with an empty parameterset as xfail(run=False)
20empty_parameter_set_mark = xfail
21faulthandler_timeout = 30
22
23# https://docs.pytest.org/en/stable/usage.html#creating-junitxml-format-files
24junit_duration_report = call
25junit_family = xunit2
26junit_logging = all
27junit_log_passing_tests = true
28junit_suite_name = towncrier_test_suite
29
30minversion = 6.1.0
31
32norecursedirs =
33    build
34    dist
35    docs
36    src/sphinxcontrib_towncrier.egg-info
37    .cache
38    .eggs
39    .git
40    .github
41    .tox
42    *.egg
43testpaths = tests/
44xfail_strict = true
45