Skip to main content

Quick commands

Test suites

Local CLI e2e (always runs)

Tests the full CLI workflow — init, create secret, invoke — without touching external networks. Uses temporary directories for isolation.

Local TLS listener e2e (always runs)

Tests real proxy round-trips against a deterministic in-process HTTPS listener. Validates TLS, auth injection, and response handling end-to-end.

Network CLI e2e (opt-in)

Tests real upstream HTTPS calls to actual provider APIs. Requires real API keys and explicit opt-in:

Daemon e2e

Tests daemon communication, auto-launch, and unix socket handling:

Broker unit tests

Comprehensive tests for the broker validation pipeline — policy checks, host matching, auth injection, path normalization:

Dev-only HTTP client overrides

For local TLS testing, the CLI supports development-only overrides: These are intended for local/e2e testing only.

CI

GitHub Actions runs the same checks on push and pull requests via .github/workflows/ci.yml:
  • cargo clippy with -D warnings
  • cargo test (all local suites)
  • cargo check
  • cargo fmt --check