pytest.ini
Rama main · réplica de lectura del repositorio original.
[tool:pytest]
testpaths = tests
norecursedirs = frontend node_modules .venv htmlcov uploads .git
python_files = test_*.py *_test.py
python_classes = Test*
python_functions = test_*
addopts =
-v
--strict-markers
--tb=short
--durations=10
--cov=app
--cov-report=term-missing
--cov-report=html:htmlcov
--cov-report=xml
--cov-fail-under=70
--ignore=tests/container/test_build.py
markers =
unit: Unit tests
integration: Integration tests
e2e: End-to-end tests
slow: Slow running tests
auth: Authentication related tests
api: API endpoint tests
database: Database related tests
security: Security related tests
container: Container integration tests
docker: Docker related tests (requires docker module)
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
ignore:.*unclosed.*:ResourceWarning
asyncio_mode = auto