29 lines
927 B
TOML
29 lines
927 B
TOML
[project]
|
||
name = "hil"
|
||
version = "0.1.0"
|
||
description = "HIL-тесты для MIMXRT1052 — pytest + pyOCD + pyserial"
|
||
readme = "README.md"
|
||
requires-python = ">=3.10"
|
||
dependencies = [
|
||
"pyocd>=0.43.1",
|
||
"pyserial>=3.5",
|
||
"mpremote>=1.23",
|
||
"pytest>=9.0.2",
|
||
]
|
||
[tool.pytest.ini_options]
|
||
testpaths = ["."]
|
||
python_files = ["test_*.py", "*_test.py", "??_test_*.py"]
|
||
markers = [
|
||
"gpio: тесты GPIO",
|
||
"interactive: тест требует действий оператора",
|
||
"usb_vcom: основной канал связи USB_CDC",
|
||
"uart: тесты UART CLI",
|
||
"opto: тесты оптоизолированных входов",
|
||
"m5: тесты с участием M5StampPLC",
|
||
"slow: тесты с большими таймаутами",
|
||
]
|
||
|
||
log_cli = true
|
||
log_cli_level = "INFO"
|
||
log_format = "%(asctime)s [%(levelname)-8s] %(name)s: %(message)s"
|
||
log_date_format = "%H:%M:%S"
|