Thanks to visit codestin.com
Credit goes to github.com

Skip to content

flutter test --start-paused #7584

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

Merged
merged 1 commit into from
Jan 23, 2017
Merged

Conversation

Hixie
Copy link
Contributor

@Hixie Hixie commented Jan 23, 2017

Make debugging tests in a debugger easier.

Fixes #163

@Hixie Hixie force-pushed the flutter-test-with-debugger branch from 8d310bd to e0317a6 Compare January 23, 2017 04:44
@Hixie
Copy link
Contributor Author

Hixie commented Jan 23, 2017

@tvolkert

@@ -70,12 +72,13 @@ enum _TestResult { crashed, harnessBailed, testBailed }
typedef Future<Null> _Finalizer();

class FlutterPlatform extends PlatformPlugin {
FlutterPlatform({ this.shellPath, this.collector, this.explicitObservatoryPort, this.explicitDiagnosticPort }) {
FlutterPlatform({ this.shellPath, this.collector, this.debuggerMode, this.explicitObservatoryPort, this.explicitDiagnosticPort }) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably make this constructor private

@@ -51,6 +51,7 @@ final InternetAddress _kHost = InternetAddress.LOOPBACK_IP_V4;
void installHook({
@required String shellPath,
CoverageCollector collector,
bool debuggerMode,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make it default to false

@tvolkert
Copy link
Contributor

LGTM

Make debugging tests in a debugger easier.

Fixes flutter#163
@Hixie Hixie force-pushed the flutter-test-with-debugger branch from e0317a6 to 602faf3 Compare January 23, 2017 19:17
@Hixie Hixie merged commit 94cac1a into flutter:master Jan 23, 2017
@Hixie Hixie deleted the flutter-test-with-debugger branch January 23, 2017 19:32
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Debugging tests is unnecessarily hard
3 participants