flutter / flutter/devtools

Provide support and guidance for testing an extension against its parent package

オープン
#8,210 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
devtools extensions P2 testing
主要言語
Dart
スター
1.7k
フォーク
404
平均マージ
6日 17時間
マージ済み PR(30日)
18

説明

When an extension is not developed in the same package that it is shipped with (like standalone extensions are), it can be challenging to test that the extension is compatible with its parent package. For example, if a DevTools extension performs an expression evaluation on a library from the parent package within the context of a running app, there is not an easy way to verify that these expression evaluations are valid in a testing environment.

To support this, we should expose some integration test helpers that support running a live app and connecting it to the simulated DevTools environment. We have some of this infrastructure in devtools_app already, but we would need to move this to devtools_app_shared.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず devtools_app にある既存の統合テスト基盤を読み、devtools_app_shared から何を再利用できるようにする必要があるかを特定します。実行中のアプリがシミュレートされた DevTools 環境に接続する仕組みを追跡します。拡張機能の作成者が共有ヘルパーを使って、実行中の親アプリに対する互換性と式の評価をテストできれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
dart
領域
developer-experience, testing, tooling
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。