pytest.ini 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  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. -s
  7. --embedded-services esp,idf
  8. -W ignore::_pytest.warning_types.PytestExperimentalApiWarning
  9. markers =
  10. esp32: support esp32 target
  11. esp32s2: support esp32s2 target
  12. esp32s3: support esp32s3 target
  13. esp32c3: support esp32c3 target
  14. supported_targets: support all supported targets ('esp32', 'esp32s2', 'esp32c3', 'esp32s3')
  15. preview_targets: support all preview targets ('linux', 'esp32h2', 'esp32c2')
  16. all_targets: support all targets, including supported ones and preview ones
  17. # env markers
  18. generic: tests should be run on generic runners
  19. flash_suspend: support flash suspend feature
  20. ip101: connected via wired 10/100M ethernet
  21. lan8720: connected via LAN8720 ethernet transceiver
  22. # log related
  23. log_cli = True
  24. log_cli_level = INFO
  25. log_cli_format = %(asctime)s %(levelname)s %(message)s
  26. log_cli_date_format = %Y-%m-%d %H:%M:%S
  27. # junit related
  28. junit_family = xunit1
  29. ## log all to `system-out` when case fail
  30. junit_logging = stdout
  31. junit_log_passing_tests = False