Add support for custom test error reporters (#17727)
This allows test environments other than `flutter test` to have a hook into the test exception reporting. Some test environments, for example, don't just dump error details to the console, but rather require them to be reported to a separate server.
This commit is contained in:
@@ -179,6 +179,13 @@ Future<Null> _runTests({List<String> options: const <String>[]}) async {
|
||||
printOutput: false,
|
||||
timeout: _kShortTimeout,
|
||||
);
|
||||
await _runFlutterTest(automatedTests,
|
||||
script: path.join('test_smoke_test', 'disallow_error_reporter_modification_test.dart'),
|
||||
options: options,
|
||||
expectFailure: true,
|
||||
printOutput: false,
|
||||
timeout: _kShortTimeout,
|
||||
);
|
||||
await _runCommand(flutter,
|
||||
<String>['drive', '--use-existing-app']
|
||||
..addAll(options)
|
||||
|
||||
Reference in New Issue
Block a user