warp-integration-test
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
Builderfactories. - Runs exactly one named test per invocation.
crates/integration/tests/common/mod.rs- The outer Rust test harness used by
cargo testandcargo 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.
- The outer Rust test harness used by
More from warpdotdev/warp
update-skill
Create or update skills by generating, editing, or refining SKILL.md files in this repository. Use when authoring new skills or revising the structure, frontmatter, or guidance for existing ones.
2spec-driven-implementation
Drive a spec-first workflow for substantial features by writing PRODUCT.md before implementation, writing TECH.md when warranted, and keeping both specs updated as implementation evolves. Use when starting a significant feature, planning agent-driven implementation, or when the user wants product and tech specs checked into source control.
2create-pr
Create a pull request in the warp repository for the current branch. Use when the user mentions opening a PR, creating a pull request, submitting changes for review, or preparing code for merge.
1fix-errors
Fix compilation errors, linting issues, and test failures in the warp Rust codebase. Covers presubmit checks, WASM-specific errors, and running specific tests. Use when the user hits build errors, clippy or fmt failures, test failures, or needs to run or interpret presubmit before a PR.
1add-feature-flag
Add a new feature flag to gate code changes in the Warp codebase.
1add-telemetry
Add telemetry events to track user behavior or system events in the Warp codebase. Use when instrumenting new features, debugging issues, or measuring product metrics.
1