warp-integration-test

Installation
SKILL.md

Warp Integration Tests

Use this skill for Rust integration tests in Warp's custom framework under crates/integration/.

These are not ordinary unit tests. They boot a real Warp app instance, give it an isolated test home directory, drive it with synthetic UI and terminal events, and poll assertions until success or timeout.

Framework map

The core pieces are:

  • crates/integration/src/bin/integration.rs
    • Manual integration test runner binary.
    • Registers test names to Builder factories.
    • Runs exactly one named test per invocation.
  • crates/integration/tests/common/mod.rs
    • The outer Rust test harness used by cargo test and cargo nextest.
    • Shells out to the integration binary.
    • Forwards a limited set of env vars (PATH, RUST_*, WARP_*, WARPUI_*, WGPU_*, display-related vars).
    • Re-runs tests up to 10 times when the integration binary exits with the special rerun code.
Related skills
Installs
1
Repository
warpdotdev/warp
GitHub Stars
57.6K
First Seen
2 days ago