gpui-testing
CommunityTest GPUI apps and components with confidence.
Authorcnwzhu
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill streamlines the process of testing GPUI applications and components, providing a structured approach to writing, running, and validating tests in a GPUI environment.
Core Features & Use Cases
- Test harness support: Use TestAppContext to set up and isolate test scenarios for GPUI apps.
- Async testing: Execute asynchronous tasks and verify outcomes using the GPUI test utilities.
- User input simulation: Simulate clicks and key presses to validate interactions.
- Entity testing patterns: Create and interact with test entities to assert lifecycle and state changes.
- Use Case: Example: test a counter component by creating a TestAppContext, updating state, and asserting the expected value.
Quick Start
Write and run a GPUI test using the gpui::test attribute and a TestAppContext fixture.
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-testing Download link: https://github.com/cnwzhu/gpui-skills/archive/main.zip#gpui-testing 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.