·gpui-testing
</>

gpui-testing

测试 GPUI 应用程序和组件。在编写测试、测试异步操作、模拟用户输入或调试测试失败时使用。

4安装·1热度·@cnwzhu

安装

$npx skills add https://github.com/cnwzhu/gpui-skills --skill gpui-testing

如何安装 gpui-testing

通过命令行快速安装 gpui-testing AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/cnwzhu/gpui-skills --skill gpui-testing
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:cnwzhu/gpui-skills。

SKILL.md

查看原文

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 |

测试 GPUI 应用程序和组件。在编写测试、测试异步操作、模拟用户输入或调试测试失败时使用。 来源:cnwzhu/gpui-skills。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/cnwzhu/gpui-skills --skill gpui-testing
分类
</>开发工具
认证
收录时间
2026-02-25
更新时间
2026-03-10

Browse more skills from cnwzhu/gpui-skills

快速解答

什么是 gpui-testing?

测试 GPUI 应用程序和组件。在编写测试、测试异步操作、模拟用户输入或调试测试失败时使用。 来源:cnwzhu/gpui-skills。

如何安装 gpui-testing?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/cnwzhu/gpui-skills --skill gpui-testing 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/cnwzhu/gpui-skills

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-25

相关 Skills

暂无