Files
meshcore-bot/pytest.ini
Stacy Olivas c95ddf667a infra: raise coverage threshold and update pytest config
- fail_under raised to 27 after confirming baseline coverage
- asyncio_mode and timeout settings refined
- requirements.txt synced with updated dependencies
2026-03-17 18:07:18 -07:00

33 lines
738 B
INI

[pytest]
# Pytest configuration for meshcore-bot tests
# Test discovery patterns
python_files = test_*.py *_test.py
python_classes = Test*
python_functions = test_*
# Test paths
testpaths = tests
# Async test support
asyncio_mode = auto
# Coverage configuration (optional)
# [tool:pytest]
# addopts = --cov=modules --cov-report=html --cov-report=term-missing
# Output options
addopts =
-v
--tb=short
--strict-markers
--cov=modules
--cov-report=term-missing
# Markers for test categorization
markers =
unit: Unit tests (isolated, with mocks)
integration: Integration tests (with real database)
slow: Slow running tests
mqtt: Live MQTT integration tests (require network access to letsmesh broker)