-
Notifications
You must be signed in to change notification settings - Fork 0
Testing
Syed Ibrahim Omer edited this page Apr 13, 2026
·
1 revision
The CLI can run its test suite directly.
The test suite is designed to validate the real tool behavior:
- fetch real market data
- compute real indicator columns
- validate constraints (e.g. RSI range)
- validate writers/readers across formats
All tests:
indicators --testSpecific suite:
indicators --test --test-suite correctness-
correctness: validates indicator computations are sane and within expected constraints -
integration: end-to-end runs (fetch → compute → write) -
formats: validates writing/reading across formats -
batch: validates multi-ticker behavior
- Tests use real Yahoo Finance data (not mocked). This increases realism but can introduce intermittent failures due to upstream availability.
- If you need deterministic performance benchmarking, use cached profiling mode (see Reproducibility).
Related pages:
- Getting Started
- CLI Reference
- Configuration & Templates
- Indicators (Overview)
- Output Formats
- Advanced Usage
- Troubleshooting
- Pipeline
- CLI Parsing
- Data Source (Yahoo Finance)
- Source Data Deep Dive
- Schema Normalization
- Data Shape Invariants
- Output Writing
- Write Output Deep Dive
- Config Resolution
- Polars Engine
- Source Modules
- Testing
- Performance
- Indicators Engine
- Reproducibility