Architecture Docker (8 services), FastAPI, TimescaleDB, Redis, Streamlit. Stratégies : scalping, intraday, swing. MLEngine + RegimeDetector (HMM). BacktestEngine + WalkForwardAnalyzer + Optuna optimizer. Routes API complètes dont /optimize async. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
39 lines
633 B
INI
39 lines
633 B
INI
[pytest]
|
|
# Configuration pytest pour Trading AI Secure
|
|
|
|
# Répertoires de tests
|
|
testpaths = tests
|
|
|
|
# Options par défaut
|
|
addopts =
|
|
-v
|
|
--strict-markers
|
|
--tb=short
|
|
--disable-warnings
|
|
-ra
|
|
|
|
# Markers personnalisés
|
|
markers =
|
|
unit: Tests unitaires
|
|
integration: Tests d'intégration
|
|
e2e: Tests end-to-end
|
|
slow: Tests lents
|
|
|
|
# Patterns de fichiers de test
|
|
python_files = test_*.py
|
|
python_classes = Test*
|
|
python_functions = test_*
|
|
|
|
# Coverage
|
|
[coverage:run]
|
|
source = src
|
|
omit =
|
|
*/tests/*
|
|
*/venv/*
|
|
*/__pycache__/*
|
|
|
|
[coverage:report]
|
|
precision = 2
|
|
show_missing = True
|
|
skip_covered = False
|