dreader-hal/pytest.ini
2025-11-10 18:06:11 +01:00

30 lines
623 B
INI

[pytest]
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Async test configuration
asyncio_mode = auto
# Output options
addopts =
-v
--strict-markers
--tb=short
--cov=dreader_hal
--cov-report=term-missing
--cov-report=html
# Markers
markers =
unit: Unit tests (fast, no hardware required)
integration: Integration tests (may require hardware)
slow: Slow tests
hardware: Tests requiring actual hardware
# Ignore warnings from external libraries
filterwarnings =
ignore::DeprecationWarning:smbus2
ignore::DeprecationWarning:RPi