mirror of
https://github.com/agessaman/meshcore-bot.git
synced 2026-03-30 20:15:40 +00:00
- fail_under raised to 27 after confirming baseline coverage - asyncio_mode and timeout settings refined - requirements.txt synced with updated dependencies
33 lines
738 B
INI
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)
|