Provide support and guidance for testing an extension against its parent package
- 主要语言
- Dart
- 星标
- 1.7k
- 派生
- 404
- 平均合并
- 6 天 17 小时
- 30 天内合并 PR
- 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