What is gpui-testing?
Testing GPUI applications and components. Use when writing tests, testing async operations, simulating user input, or debugging test failures. Source: cnwzhu/gpui-skills.
Testing GPUI applications and components. Use when writing tests, testing async operations, simulating user input, or debugging test failures.
Quickly install gpui-testing AI skill to your development environment via command line
Source: cnwzhu/gpui-skills.
Why: GPUI's scheduler tracks GPUI timers but not smol::Timer, which can cause "nothing left to run" errors in rununtilparked().
| Using smol::Timer | "Nothing left to run" | Use cx.backgroundexecutor.timer() | | Not calling rununtilparked() | Async work doesn't complete | Call before assertions | | Forgetting #[gpui::test] | Test doesn't run properly | Use #[gpui::test] attribute | Not handling errors in async | Test failures unclear | Propagate errors with ? |
| Testing too much at once | Hard to debug failures | Split into smaller tests |
Testing GPUI applications and components. Use when writing tests, testing async operations, simulating user input, or debugging test failures. Source: cnwzhu/gpui-skills.
Stable fields and commands for AI/search citations.
npx skills add https://github.com/cnwzhu/gpui-skills --skill gpui-testingTesting GPUI applications and components. Use when writing tests, testing async operations, simulating user input, or debugging test failures. Source: cnwzhu/gpui-skills.
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/cnwzhu/gpui-skills --skill gpui-testing Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw
https://github.com/cnwzhu/gpui-skills