Skip to content

Test Map

Use this page after Where to Change Code to choose the smallest validation that covers a change, then expand outward only when needed.

Change areaStart withThen consider
Docs onlyjust site checkManual navigation for new IA or component-heavy pages
Formatting onlycargo fmt --checkjust check before merging broader edits
Config schema/defaultsFocused config loading testspixi run cargo test --lib or just check
Route matchingRoute matching unit/e2e testsjust test-e2e if proxy behavior changes
Protocol conversionPair-specific conversion testsProxy e2e tests for request/response behavior
Streaming/SSE/tool callsTargeted streaming tests and fixturesjust test-e2e because streaming regressions are user-visible
Error renderingError projection testsHTTP and SSE error behavior checks when stream state matters
Capture/loggingCapture behavior tests and docs checker phase coveragePrivacy review of generated artifacts
  1. 1

    Identify the boundary

    Goal: Avoid running broad tests before you know what changed.

    Do
    • Map the change to config, routing, translation, streaming, errors, capture, docs, or release packaging.
    • Use source ownership from developer/where-to-change-code.

    Verify: You can name the primary module and user-visible behavior affected.

  2. 2

    Run the narrowest meaningful check

    Goal: Catch local mistakes quickly.

    Do
    • Use docs checks for docs-only changes.
    • Use focused Rust tests for changed runtime modules.
    • Use pair-specific tests for translation changes.

    Verify: The smallest relevant check passes before broader validation.

  3. 3

    Expand for user-visible behavior

    Goal: Cover proxy and streaming paths that users actually hit.

    Do
    • Run e2e checks for route, provider, normalization, streaming, capture, or request/response behavior changes.
    • For streaming, include terminal events, incomplete tool streams, stalls, and Unicode boundaries when relevant.

    Verify: The broader command passes or failures are understood and scoped.

Terminal window
just site check
cargo fmt --check
pixi run cargo clippy --lib --tests -- -D warnings
pixi run cargo test --lib
just test-e2e
just check

Use the exact project recipes from the root justfile and site/justfile; do not invent new validation commands in docs unless they are added to the repository.