gpui-test
A contributor skill in the Zed editor's repository for writing and debugging tests of GPUI, Zed's UI framework.
スキルの内容
A contributor skill in the Zed editor's repository for writing and debugging tests of GPUI, Zed's UI framework. It explains what the gpui::test macro does (a deterministic scheduler that can run a test under many seeds), which context arguments a test can take, and options such as iterations, seeds and retries. It gives a reproduction routine: run the narrowest filter, sweep seeds to find a failing one, pin it with SEED, print pending task traces for parking failures, use GPUI timers instead of outside ones, then shrink the case while keeping the seed fixed. It lists common causes of flaky failures and advises against adding retries to hide a bug.
できること
- Reproduce flaky GPUI tests with a fixed scheduler seed
- Diagnose parking failures with pending task traces
- Write deterministic GPUI tests with seeded data
概要
- 公開元
- Zed Industries
- ツール
- テスト
インストール
プロジェクトのドキュメントに、確認できるインストール手順がありません。 プロジェクトの手順を見る
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
詳細
Zed Industriesのほかの掲載
サーバー1件 · スキル7件
- zed-cherry-pick (スキル)
- gpui-bench (スキル)
- brand-writer (スキル)
- humanizer (スキル)
- create-skill (スキル)
- lint-creator (スキル)
こちらにも掲載: テスト
出典
- スキルファイル(SKILL.md)github.com/zed-industries/zed · 根拠となる項目:公開元, ライセンス2026年11月10日
- GitHubリポジトリgithub.com/zed-industries/zed · 根拠となる項目:活動状況2026年11月11日
- リポジトリ内のフォルダ(gpui-test)github.com/zed-industries/zed · 根拠となる項目:スクリプトを含む2026年11月10日