pytest.ini 829 B

1234567891011121314151617181920212223242526272829
  1. [pytest]
  2. # only the files with prefix `pytest_` would be recognized as pytest test scripts.
  3. python_files = pytest_*.py
  4. # ignore PytestExperimentalApiWarning for record_xml_attribute
  5. addopts =
  6. --embedded-services esp,idf
  7. -W ignore::_pytest.warning_types.PytestExperimentalApiWarning
  8. markers =
  9. esp32: support esp32 target
  10. esp32s2: support esp32s2 target
  11. esp32s3: support esp32s3 target
  12. esp32c3: support esp32c3 target
  13. generic: tests should be run on generic runners
  14. flash_suspend: support flash suspend feature
  15. # log related
  16. log_auto_indent = True
  17. log_cli = True
  18. log_cli_level = INFO
  19. log_cli_format = %(asctime)s %(levelname)s %(message)s
  20. log_cli_date_format = %Y-%m-%d %H:%M:%S
  21. # junit related
  22. junit_family = xunit1
  23. ## log all to `system-out` when case fail
  24. junit_logging = log
  25. junit_log_passing_tests = False