Offline Testing
Run the full suite with:Covered areas
| Test file | Coverage |
|---|---|
backtest.test.ts | Backtest scenario replay |
drift-adapter.test.ts | Drift deterministic fixture envelopes |
kamino-adapter.test.ts | Kamino deterministic fixture envelopes |
manifest-adapter.test.ts | Manifest loading, fallback, validation |
solver.test.ts | Solver constraints and paused strategy behavior |
ranger.test.ts | Idempotency and approved-step execution |
vault-program.test.ts | Anchor-compatible execute-plan hashing |
vault-ops.test.ts | Vault serialization, decoding, and builder logic |
vault-cli.test.ts | CLI fail-fast behavior with missing envs |
What offline tests do not prove
They do not prove:- cluster connectivity
- wallet balances
- deployed program executability
- protocol settlement on-chain
- production manifests for
MarginFiandPerena