24 lines
639 B
INI
24 lines
639 B
INI
|
|
[tool:pytest]
|
||
|
|
testpaths = tests
|
||
|
|
python_files = test_*.py
|
||
|
|
python_classes = Test*
|
||
|
|
python_functions = test_*
|
||
|
|
addopts =
|
||
|
|
-v
|
||
|
|
--tb=short
|
||
|
|
--strict-markers
|
||
|
|
--strict-config
|
||
|
|
--cov=src
|
||
|
|
--cov-report=term-missing
|
||
|
|
--cov-report=html
|
||
|
|
--cov-report=xml
|
||
|
|
--cov-fail-under=80
|
||
|
|
markers =
|
||
|
|
unit: Unit tests (fast, no external dependencies)
|
||
|
|
integration: Integration tests (require external services)
|
||
|
|
database: Tests that require database
|
||
|
|
slow: Tests that take a long time to run
|
||
|
|
safety: Safety framework tests
|
||
|
|
protocol: Protocol server tests
|
||
|
|
security: Security and compliance tests
|
||
|
|
asyncio_mode = auto
|