# Testing

The test suite uses deterministic offline fixtures and does not require market-data credentials, a brokerage account, or network access.

## Requirements

- Python 3.10 or newer
- No third-party runtime dependencies

## Run the checks

From the repository root:

```bash
python -m compileall -q src
PYTHONPATH=src python -m unittest discover -s tests -v
```

The tests cover input validation, indicators, scan logic, session-aware opening ranges, planning, position sizing, risk checks, paper-only confirmation, repeatable simulations, alerts, journal summaries, portfolio calculations, public disclosure parsing, and chronological strategy evaluation.

These checks validate code paths and calculations against fixtures; they do not establish trading performance, real-time data quality, or live execution behavior. Provider integrations are not exercised by the offline suite.
