Skip to content

Support starting DTD and setting workspace roots from integration tests #9196

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
kenzieschmoll opened this issue May 16, 2025 · 0 comments
Labels
integration tests P2 important to work on, but not at the top of the work list. testing

Comments

@kenzieschmoll
Copy link
Member

kenzieschmoll commented May 16, 2025

This is a follow up to #9176. To emulate the runtime environment where DevTools server was started with a DTD uri passed to it on start, we need to be able to start DTD from integration tests before we start the DevTools server.

This will unblock use cases like testing static DevTools extensions that should be present without a connected app, based on the roots set by the DTD instance that was started by the user's IDE.

To do this, we can re-use this code: https://github.com/dart-lang/sdk/blob/main/pkg/dds/lib/src/devtools/dtd.dart. We may want to expose this so we can import it directly from devtools_app.

EDIT: it may be better to run dart tooling-daemon directly.

@kenzieschmoll kenzieschmoll added testing integration tests P2 important to work on, but not at the top of the work list. labels May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integration tests P2 important to work on, but not at the top of the work list. testing
Projects
None yet
Development

No branches or pull requests

1 participant