esp-idf/pytest.ini

29 lines
782 B
INI
Raw Normal View History

[pytest]
# only the files with prefix `pytest_` would be recognized as pytest test scripts.
python_files = pytest_*.py
# ignore PytestExperimentalApiWarning for record_xml_attribute
addopts =
--embedded-services esp,idf
-W ignore::_pytest.warning_types.PytestExperimentalApiWarning
markers =
esp32: support esp32 target
esp32s2: support esp32s2 target
esp32s3: support esp32s3 target
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
# junit related
junit_family = xunit1
## log all to `system-out` when case fail
junit_logging = log
junit_log_passing_tests = False