Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(436)

Unified Diff: json_reporter.md

Issue 1641353002: Expand the JSON reporter to enable a progress bar. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« CHANGELOG.md ('K') | « CHANGELOG.md ('k') | json_reporter.schema.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: json_reporter.md
diff --git a/json_reporter.md b/json_reporter.md
index 0d374e697adeef613d77067e415c095e2e5e19e5..8e589d21d9e541a58e2c3a3d6a79ee8655b1b82c 100644
--- a/json_reporter.md
+++ b/json_reporter.md
@@ -101,6 +101,22 @@ class StartEvent extends Event {
A single start event is emitted before any other events. It indicates that the
test runner has started running.
+### SuiteCountEvent
alexander.doroshko 2016/01/29 11:51:05 mismatch with the class name AllSuitesEvent
+
+```
+class AllSuitesEvent {
+ String type = "allSuites";
+
+ /// The total number of suites that will be loaded.
+ int count;
+}
+```
+
+A single suite count event is emitted once the test runner knows the total
+number of suites that will be loaded over the course of the test run. Because
+this is determined asynchronously, its position relative to other events (except
+`StartEvent`) is not guaranteed.
+
### SuiteEvent
```
@@ -329,6 +345,9 @@ class Group {
// The group's metadata, including metadata from any containing groups.
Metadata metadata;
+
+ // The number of tests (recursively) within this group.
+ int testCount;
}
```
« CHANGELOG.md ('K') | « CHANGELOG.md ('k') | json_reporter.schema.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698