penti/backend/pytest.ini

22 lines
495 B
INI

[pytest]
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
addopts =
-v
--strict-markers
--tb=short
--cov=app
--cov-report=term-missing
--cov-report=html
--cov-branch
markers =
unit: Unit tests
integration: Integration tests
slow: Tests that take a long time to run
crawler: Tests that involve web crawling
env =
TESTING=1
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/pension_quant_test