gpui-test
✓為 GPUI 應用程序編寫測試。在測試組件、異步操作或 UI 行為時使用。
SKILL.md
GPUI provides a comprehensive testing framework that allows you to test UI components, async operations, and distributed systems. Tests run on a single-threaded executor that provides deterministic execution and the ability to test complex async scenarios. GPUI tests use the #[gpui::test] attribute and work with TestAppContext for basic testing and VisualTestContext for window-dependent tests.
TestAppContext provides access to GPUI's core functionality without windows:
為 GPUI 應用程序編寫測試。在測試組件、異步操作或 UI 行為時使用。 來源:longbridge/gpui-component。
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/longbridge/gpui-component --skill gpui-test 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用
可引用資訊
為搜尋與 AI 引用準備的穩定欄位與指令。
- 安裝指令
npx skills add https://github.com/longbridge/gpui-component --skill gpui-test- 分類
- </>開發工具
- 認證
- ✓
- 收錄時間
- 2026-02-01
- 更新時間
- 2026-02-18
快速解答
什麼是 gpui-test?
為 GPUI 應用程序編寫測試。在測試組件、異步操作或 UI 行為時使用。 來源:longbridge/gpui-component。
如何安裝 gpui-test?
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/longbridge/gpui-component --skill gpui-test 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用
這個 Skill 的原始碼在哪?
https://github.com/longbridge/gpui-component
詳情
- 分類
- </>開發工具
- 來源
- skills.sh
- 收錄時間
- 2026-02-01