2021-11-17 04:09:36 -05:00
|
|
|
[pytest]
|
|
|
|
# only the files with prefix `pytest_` would be recognized as pytest test scripts.
|
|
|
|
python_files = pytest_*.py
|
|
|
|
|
2021-11-30 22:32:50 -05:00
|
|
|
# ignore PytestExperimentalApiWarning for record_xml_attribute
|
2021-11-30 22:36:29 -05:00
|
|
|
addopts =
|
|
|
|
--embedded-services esp,idf
|
|
|
|
-W ignore::_pytest.warning_types.PytestExperimentalApiWarning
|
2021-11-17 04:09:36 -05:00
|
|
|
|
|
|
|
markers =
|
|
|
|
esp32: support esp32 target
|
2021-11-30 22:36:29 -05:00
|
|
|
esp32s2: support esp32s2 target
|
2021-11-30 22:32:50 -05:00
|
|
|
esp32s3: support esp32s3 target
|
2021-11-17 04:09:36 -05:00
|
|
|
esp32c3: support esp32c3 target
|
|
|
|
generic: tests should be run on generic runners
|
|
|
|
|
|
|
|
# log related
|
|
|
|
log_auto_indent = True
|
|
|
|
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
|
2021-11-30 22:36:29 -05:00
|
|
|
|
|
|
|
# junit related
|
|
|
|
junit_family = xunit1
|
|
|
|
## log all to `system-out` when case fail
|
|
|
|
junit_logging = log
|
|
|
|
junit_log_passing_tests = False
|