feat: integration tests, seed data, and smoke test script

Add integration tests for the news pipeline (test_news_pipeline.py) and
trading flow (test_trading_flow.py) using real Redis with mocked FinBERT
and Alpaca. Add seed_strategies.py to insert default strategies (momentum,
mean_reversion, news_driven) with equal weights. Add smoke_test.sh for
end-to-end stack validation. Update pyproject.toml with integration marker
and scripts package discovery.
This commit is contained in:
Viktor Barzin 2026-02-22 16:02:44 +00:00
parent b255b3edbe
commit e6ae4bdccd
No known key found for this signature in database
GPG key ID: 0EB088298288D958
7 changed files with 948 additions and 1 deletions

View file

@ -27,11 +27,12 @@ requires = ["setuptools>=70.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["shared*", "services*", "backtester*", "tests*"]
include = ["shared*", "services*", "backtester*", "scripts*", "tests*"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
markers = ["integration: marks tests requiring docker services (redis, postgres)"]
[tool.ruff]
line-length = 120