Add metadata to messages emitted by live tests.
This moves the responsibility for printing skip messages to the engine, rather than the reporter. Reporters now just need to choose how to display the messages produced by the engine. This lays the groundwork for #394, since skip messages can now be emitted during the run of a test. R=kevmoo@google.com Review URL: https://codereview.chromium.org//2091173002 .
Showing
- doc/json_reporter.md 25 additions, 24 deletionsdoc/json_reporter.md
- json_reporter.schema.json 4 additions, 3 deletionsjson_reporter.schema.json
- lib/src/backend/invoker.dart 4 additions, 2 deletionslib/src/backend/invoker.dart
- lib/src/backend/live_test.dart 3 additions, 2 deletionslib/src/backend/live_test.dart
- lib/src/backend/live_test_controller.dart 11 additions, 9 deletionslib/src/backend/live_test_controller.dart
- lib/src/backend/message.dart 42 additions, 0 deletionslib/src/backend/message.dart
- lib/src/runner/engine.dart 7 additions, 0 deletionslib/src/runner/engine.dart
- lib/src/runner/load_suite.dart 1 addition, 1 deletionlib/src/runner/load_suite.dart
- lib/src/runner/remote_listener.dart 7 additions, 3 deletionslib/src/runner/remote_listener.dart
- lib/src/runner/reporter/compact.dart 9 additions, 14 deletionslib/src/runner/reporter/compact.dart
- lib/src/runner/reporter/expanded.dart 8 additions, 9 deletionslib/src/runner/reporter/expanded.dart
- lib/src/runner/reporter/json.dart 3 additions, 2 deletionslib/src/runner/reporter/json.dart
- lib/src/runner/runner_test.dart 5 additions, 2 deletionslib/src/runner/runner_test.dart
- test/backend/invoker_test.dart 7 additions, 2 deletionstest/backend/invoker_test.dart
- test/runner/browser/loader_test.dart 2 additions, 1 deletiontest/runner/browser/loader_test.dart
- test/runner/compact_reporter_test.dart 2 additions, 2 deletionstest/runner/compact_reporter_test.dart
- test/runner/json_reporter_test.dart 5 additions, 2 deletionstest/runner/json_reporter_test.dart
- test/runner/loader_test.dart 2 additions, 1 deletiontest/runner/loader_test.dart
Loading
Please register or sign in to comment