38 lines
785 B
INI
38 lines
785 B
INI
[pytest]
|
|
# Test discovery
|
|
testpaths = tests
|
|
python_files = test_*.py
|
|
python_classes = Test*
|
|
python_functions = test_*
|
|
|
|
# Test options
|
|
addopts =
|
|
-v
|
|
--cov=app
|
|
--cov-report=term-missing
|
|
--cov-report=html:htmlcov
|
|
--cov-report=xml
|
|
--strict-markers
|
|
--disable-warnings
|
|
--tb=short
|
|
|
|
# Test markers
|
|
markers =
|
|
unit: Unit tests
|
|
integration: Integration tests
|
|
slow: Slow running tests
|
|
deployment: Deployment related tests
|
|
calculation: Calculation logic tests
|
|
auth: Authentication tests
|
|
admin: Admin functionality tests
|
|
|
|
# Timeout settings
|
|
timeout = 30
|
|
|
|
# Warning filters
|
|
filterwarnings =
|
|
ignore::DeprecationWarning
|
|
ignore::UserWarning
|
|
ignore::PendingDeprecationWarning
|
|
ignore::FutureWarning
|
|
ignore::RuntimeWarning |