rag_template / pytest.ini
Guilherme Favaron
Sync: Complete project update (Phase 6) - API, Metadata, Eval, Docs
a686b1b
[pytest]
# Pytest configuration
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Coverage options
addopts =
--verbose
--cov=src
--cov=ui
--cov-report=html
--cov-report=term-missing
--cov-report=xml
--cov-fail-under=85
# Markers
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
integration: marks tests as integration tests
unit: marks tests as unit tests
requires_db: marks tests that require database connection
requires_api: marks tests that require external API
# Ignore warnings
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning