-
Notifications
You must be signed in to change notification settings - Fork 29.7k
change --machine flag for flutter test to report test progress as JSON
#10848
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
(The Flutter plugin will use this to update the UI with test progress.)
|
lgtm |
| startPaused: startPaused, | ||
| ipv6: argResults['ipv6']); | ||
| ipv6: argResults['ipv6'], | ||
| json: machine); |
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.
Nit: maybe put a trailing comma and the closing parens on a new line so future changes only have to affect one line.
| } | ||
|
|
||
| if (json) { | ||
| testArgs.addAll(<String>["-r", "json"]); |
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.
single quotes
tvolkert
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.
Just nits - LGTM
…SON (flutter#10848) (The Flutter plugin will use this to update the UI with test progress.)
This is so that the IntelliJ Flutter plugin can report test progress using a nice UI.