-
Notifications
You must be signed in to change notification settings - Fork 47
Expand file tree
/
Copy pathpytest.ini
More file actions
37 lines (32 loc) · 1.17 KB
/
pytest.ini
File metadata and controls
37 lines (32 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[pytest]
# only the files with prefix `pytest_` would be recognized as pytest test scripts.
python_files = pytest_*.py
# Skip pytest_*.py files located inside managed_components and static_analysis
norecursedirs = managed_components/* static_analysis/*
# set traceback to "short" to prevent the overwhelming tracebacks
addopts =
-s
--embedded-services esp,idf
--tb short
markers =
# env markers
usb_host: usb host runners with two DUTs (device and host)
usb_device: usb device runners
usb_host_flash_disk: usb host runners with usb flash disk
host_test: linux host test
eco_default: target runner with latest ECO version
esp32p4_eco4: esp32p4 runner with esp32p4 ECO4 version
temp_skip_ci: to remove esp-idf examples CI run warnings about unknown markers
# ignore PytestExperimentalApiWarning for record_xml_attribute
filterwarnings =
ignore::_pytest.warning_types.PytestExperimentalApiWarning
# log related
log_cli = True
log_cli_level = INFO
log_cli_format = %(asctime)s %(levelname)s %(message)s
log_cli_date_format = %Y-%m-%d %H:%M:%S
# junit related
junit_family = xunit1
## log all to `system-out` when case fail
junit_logging = stdout
junit_log_passing_tests = False