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

Unified Diff: json_reporter.md

Issue 1472883003: Add some more discussion of asynchrony. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | 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 ddcc11f512fdc6cd04358f749569c5be728e54db..a93542f9141fe51ac934ce13a7dce89b232ba4c1 100644
--- a/json_reporter.md
+++ b/json_reporter.md
@@ -1,4 +1,4 @@
-JSON Reporter Protocol
+xxJSON Reporter Protocol
kevmoo 2015/11/24 05:05:11 oops?
======================
The test runner supports a JSON reporter which provides a machine-readable
@@ -6,6 +6,12 @@ representation of the test runner's progress. This reporter is intended for use
by IDEs and other tools to present a custom view of the test runner's operation
without needing to parse output intended for humans.
+Note that the test runner is highly asynchronous, and users of this protocol
+shouldn't make assumptions about the ordering of events beyond what's explicitly
+specified in this document. It's possible for events from multiple tests to be
+intertwined, for a single test to emit an error after it completed successfully,
+and so on.
+
## Usage
Pass the `--reporter json` command-line flag to the test runner to activate the
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698