gpui-test

Community

Deterministic tests for GPUI components.

Authorzerx-lab
Version1.0.0
Installs0

System Documentation

What problem does it solve?

GPUI test framework enables deterministic, repeatable validation of UI components and async operations.

Core Features & Use Cases

  • Deterministic unit and integration tests for GPUI components using the #[gpui::test] attribute.
  • Support for TestAppContext (no-window tests) and VisualTestContext (window-dependent tests) to cover both headless and UI scenarios.
  • Patterns for async operations, timers, and distributed testing across multiple app contexts.

Quick Start

Write a simple test using #[gpui::test] with TestAppContext and run cargo test. For example, create a test that initializes a component and asserts its initial state, then run cargo test to verify results.

Dependency Matrix

Required Modules

None required

Components

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/zerx-lab/rmx/archive/main.zip#gpui-test

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.