pytest.ini 782 B

12345678910111213141516171819202122232425262728
  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. # log related
  15. log_auto_indent = True
  16. log_cli = True
  17. log_cli_level = INFO
  18. log_cli_format = %(asctime)s %(levelname)s %(message)s
  19. log_cli_date_format = %Y-%m-%d %H:%M:%S
  20. # junit related
  21. junit_family = xunit1
  22. ## log all to `system-out` when case fail
  23. junit_logging = log
  24. junit_log_passing_tests = False