Files
AnonBot/pytest.ini

30 lines
659 B
INI

[tool:pytest]
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
addopts =
-v
--tb=short
--strict-markers
--disable-warnings
--cov=.
--cov-report=html
--cov-report=term-missing
--cov-fail-under=80
markers =
unit: Unit tests
integration: Integration tests
slow: Slow tests
database: Database tests
bot: Bot tests
auth: Authentication tests
validation: Validation tests
crud: CRUD tests
middleware: Middleware tests
services: Services tests
handlers: Handlers tests
models: Models tests
config: Configuration tests
asyncio_mode = auto