pytest.ini 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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. # set traceback to "short" to prevent the overwhelming tracebacks
  6. addopts =
  7. -s
  8. --embedded-services esp,idf
  9. --tb short
  10. --skip-check-coredump y
  11. # ignore DeprecationWarning
  12. filterwarnings =
  13. ignore::DeprecationWarning:matplotlib.*:
  14. ignore::DeprecationWarning:google.protobuf.*:
  15. ignore::_pytest.warning_types.PytestExperimentalApiWarning
  16. markers =
  17. # target markers
  18. esp32: support esp32 target
  19. esp32s2: support esp32s2 target
  20. esp32s3: support esp32s3 target
  21. esp32c3: support esp32c3 target
  22. esp32c2: support esp32c2 target
  23. esp32h2: support esp32h2 target
  24. supported_targets: support all supported targets ('esp32', 'esp32s2', 'esp32c3', 'esp32s3', 'esp32c2')
  25. preview_targets: support all preview targets ('linux', 'esp32h2')
  26. all_targets: support all targets, including supported ones and preview ones
  27. # env markers
  28. generic: tests should be run on generic runners
  29. nightly_run: tests should be executed as part of the nightly trigger pipeline
  30. flash_suspend: support flash suspend feature
  31. ip101: connected via wired 10/100M ethernet
  32. lan8720: connected via LAN8720 ethernet transceiver
  33. quad_psram: runners with quad psram
  34. octal_psram: runners with octal psram
  35. usb_host: usb host runners
  36. usb_device: usb device runners
  37. ethernet_ota: ethernet OTA runners
  38. flash_encryption: Flash Encryption runners
  39. flash_encryption_f4r8: Flash Encryption runners with 4-line flash and 8-line psram
  40. flash_encryption_f8r8: Flash Encryption runners with 8-line flash and 8-line psram
  41. flash_mutli: Multiple flash chips tests
  42. psram: Chip has 4-line psram
  43. ir_transceiver: runners with a pair of IR transmitter and receiver
  44. flash_encryption_wifi_high_traffic: Flash Encryption runners with wifi high traffic support
  45. ethernet: ethernet runner
  46. ethernet_flash_8m: ethernet runner with 8mb flash
  47. ethernet_router: both the runner and dut connect to the same router through ethernet NIC
  48. wifi_ap: a wifi AP in the environment
  49. wifi_router: both the runner and dut connect to the same wifi router
  50. wifi_high_traffic: wifi high traffic runners
  51. wifi_wlan: wifi runner with a wireless NIC
  52. xtal_26mhz: runner with 26MHz xtal on board
  53. xtal_40mhz: runner with 40MHz xtal on board
  54. external_flash: external flash memory connected via VSPI (FSPI)
  55. sdcard_sdmode: sdcard running in SD mode
  56. sdcard_spimode: sdcard running in SPI mode
  57. MSPI_F8R8: runner with Octal Flash and Octal PSRAM
  58. MSPI_F4R8: runner with Quad Flash and Octal PSRAM
  59. MSPI_F4R4: runner with Quad Flash and Quad PSRAM
  60. test_jtag_arm: runner where the chip is accessible through JTAG as well
  61. # multi-dut markers
  62. multi_dut_generic: tests should be run on generic runners, at least have two duts connected.
  63. # host_test markers
  64. host_test: tests which shouldn not be built at the build stage, and instead built in host_test stage.
  65. qemu: build and test using qemu-system-xtensa, not real target.
  66. # log related
  67. log_cli = True
  68. log_cli_level = INFO
  69. log_cli_format = %(asctime)s %(levelname)s %(message)s
  70. log_cli_date_format = %Y-%m-%d %H:%M:%S
  71. # junit related
  72. junit_family = xunit1
  73. ## log all to `system-out` when case fail
  74. junit_logging = stdout
  75. junit_log_passing_tests = False