Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,19 @@ pytest test_backtest_engine.py -v
- [Emergency Procedures](docs/runbooks/emergency-procedures.md)
- [Architecture Documentation](docs/architecture/overview.md)

### Smoke Tests

```bash
# Run safety-critical smoke coverage
python tests/run_all_smoke.py

# Equivalent direct pytest command
pytest -m smoke --no-cov
```

The smoke suite covers the safety-critical autonomous, execution, emergency,
auth, broker-state, recovery, evidence-learning, and risk-lifecycle paths.

---

## 📚 Documentation Index
Expand Down Expand Up @@ -955,4 +968,4 @@ We love feature requests! Open an issue with the "enhancement" label.

---

**Happy Trading! 📈**
**Happy Trading! 📈**
3 changes: 3 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ python scripts/run_web.py
# Run tests (Prime Directive: 100% pass rate)
pytest -v

# Run safety-critical smoke tests
python tests/run_all_smoke.py

# Check coverage
pytest --cov
```
Expand Down
20 changes: 20 additions & 0 deletions docs/TESTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,26 @@ pytest tests/test_strategy_registry.py::TestStrategyRegistry::test_initializatio
pytest -k "test_signal"
```

### Smoke Suite

```bash
# Run safety-critical smoke tests
python tests/run_all_smoke.py

# Equivalent direct pytest command
pytest -m smoke --no-cov

# Narrow the smoke suite while keeping the smoke marker
python tests/run_all_smoke.py -k emergency -x
```

The smoke inventory is maintained in `tests/smoke_manifest.py` and applied as
the `smoke` marker during pytest collection. It covers emergency stops, auth,
config security, order execution, TWS bridge behavior, autonomous API/runner
paths, live dry-run gates, order lifecycle, idempotency, recovery, replay,
market-data health, evidence learning, risk lifecycle, and capital-promotion
advisory behavior.

### Coverage Analysis

```bash
Expand Down
Loading