flutter / flutter/devtools

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

Open
#8,210 0 comments 1 reaction 0 assignees View on GitHub
devtools extensions P2 testing
Dominant language
Dart
Stars
1.7k
Forks
404
Avg merge
6d 17h
Merged PRs (30d)
18

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.