gpui-test
OfficialDeterministic GPUI component tests.
Authorlongbridge
Version1.0.0
Installs0
System Documentation
What problem does it solve?
GPUI testing tasks are complex due to asynchronous UI updates, window contexts, and visual validation; gpui-test provides a structured framework to write deterministic tests that exercise components and async behavior.
Core Features & Use Cases
- Deterministic test context: TestAppContext and VisualTestContext enable predictable execution across app contexts.
- Async and component testing: Write #[gpui::test] tests for components, async tasks, and UI flows.
- Visual and distributed testing: Includes patterns for windowed tests and cross-context interactions.
- Use Case: Validate a dashboard component renders correctly after an async data load.
Quick Start
Run gpui-test tests with cargo test to verify component behavior and async workflows.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: gpui-test Download link: https://github.com/longbridge/gpui-component/archive/main.zip#gpui-test Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.