-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Serve DevTools when running flutter test #123607
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
Conversation
Also clean up messaging output by `flutter test` when `--start-paused` is provided.
|
I ran a search for any tests relying on the output of |
kenzieschmoll
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one comment regarding what we are printing to console in the null case, but lgtm from DevTools perspective.
| ); | ||
| } | ||
|
|
||
| Future<void> _startDevTools(Uri forwardingUri, DartDevelopmentService? dds) async { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we already have code similar to this anywhere else in the tool?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We do have code that's tightly coupled to ResidentRunner in the form of ResidentDevtoolsHandler. I pulled the relevant code out for use here since flutter test doesn't require any of the functionality from ResidentDevtoolsHandler.
|
@zanderso can we land this? |
Originally reverted due to a misattributed hot reload benchmark regression. This reverts commit f5bce71.
Also clean up messaging output by `flutter test` when `--start-paused` is provided.
…lutter#123810) This reverts commit c3de901.
…lutter#124058) Originally reverted due to a misattributed hot reload benchmark regression. This reverts commit f5bce71.
Also clean up messaging output by
flutter testwhen--start-pausedis provided.