Testing kit: drive a plugin's own area, editor panel and status check
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start in packages/teme-testing, where PluginUnderTest lives, and look at how the kit already exposes jobs and public routes. Core's PluginArea, EditorPanel and ChecksStatus contracts, and the AreaContext and EditorPanelContext they receive, define what the new methods must call and validate. Done means area(), panel() and statusNotices() run through core's manifest validation, permission checks and time budgets, and a refusal fails the test with its message.
索引モデルが issue の本文から書いたものです。
説明
Core calls a plugin's own admin area (PluginArea: figures, chart, rows, values, save, act), its editor panels (EditorPanel::view() and settled()) and its status checks (ChecksStatus) with contexts it builds (AreaContext, EditorPanelContext), under time budgets and after validating what the manifest declared.
The testing kit offers no way to call any of these as a person. A test can reach only what jobs and public routes share with them, so the plugin's screens, its form checks and its permission rules are untested through the kit, and a test that builds the contexts by hand skips what core checks.
Expected: methods on PluginUnderTest, taking the person to act as, last, like the rest of the kit. For example area()->rows('record', filters, as: $person), area()->save('record', $id, $values, as: $person), panel('id')->view($item, as: $person), and statusNotices(), running through the same validation, permission checks and budgets core applies, and failing the test with the refusal's words.
Where: packages/teme-testing.
🤖 Generated with Claude Code
- 主要言語
- PHP
- スター
- 1
- フォーク
- 1
- 平均マージ
- 1時間 40分
- マージ済み PR(30日)
- 143
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
temecms/teme のほかの issue
-
area/admin type/enhancement when/soon
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
area/media type/enhancement when/soon
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
area/admin type/bug when/soon
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
area/import type/documentation when/soon
難易度 2/5 半日 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
area/admin area/import type/bug when/later
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
2DAW-CarlosIII/eportfolio_g5#35 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
2DAW-CarlosIII/eportfolio_g4#33 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
2DAW-CarlosIII/eportfolio_g1#34 ·
メンテナーはふだん 2 日以内に返信
-
P2 Team S Type: Infrastructure
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
google/site-kit-wp#14271 ·
メンテナーはふだん 2 日以内に返信
-
Display price Views field throws TypeError when the row has no product対応中かも @albanycomputers が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
backdrop-contrib/ubercart#610 ·