| OLD | NEW |
| 1 `test` provides a standard way of writing and running tests in Dart. | 1 `test` provides a standard way of writing and running tests in Dart. |
| 2 | 2 |
| 3 * [Writing Tests](#writing-tests) | 3 * [Writing Tests](#writing-tests) |
| 4 * [Running Tests](#running-tests) | 4 * [Running Tests](#running-tests) |
| 5 * [Restricting Tests to Certain Platforms](#restricting-tests-to-certain-platf
orms) | 5 * [Restricting Tests to Certain Platforms](#restricting-tests-to-certain-platf
orms) |
| 6 * [Platform Selectors](#platform-selectors) | 6 * [Platform Selectors](#platform-selectors) |
| 7 * [Running Tests on Dartium](#running-tests-on-dartium) | 7 * [Running Tests on Dartium](#running-tests-on-dartium) |
| 8 * [Asynchronous Tests](#asynchronous-tests) | 8 * [Asynchronous Tests](#asynchronous-tests) |
| 9 * [Running Tests With Custom HTML](#running-tests-with-custom-html) | 9 * [Running Tests With Custom HTML](#running-tests-with-custom-html) |
| 10 * [Configuring Tests](#configuring-tests) | 10 * [Configuring Tests](#configuring-tests) |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 * `mac-os`: Whether the test is running on Mac OS. If `vm` is false, this will | 227 * `mac-os`: Whether the test is running on Mac OS. If `vm` is false, this will |
| 228 be `false` as well. | 228 be `false` as well. |
| 229 | 229 |
| 230 * `linux`: Whether the test is running on Linux. If `vm` is false, this will be | 230 * `linux`: Whether the test is running on Linux. If `vm` is false, this will be |
| 231 `false` as well. | 231 `false` as well. |
| 232 | 232 |
| 233 * `android`: Whether the test is running on Android. If `vm` is false, this will | 233 * `android`: Whether the test is running on Android. If `vm` is false, this will |
| 234 be `false` as well, which means that this *won't* be true if the test is | 234 be `false` as well, which means that this *won't* be true if the test is |
| 235 running on an Android browser. | 235 running on an Android browser. |
| 236 | 236 |
| 237 * `ios`: Whether the test is running on iOS. If `vm` is false, this will be |
| 238 `false` as well, which means that this *won't* be true if the test is running |
| 239 on an iOS browser. |
| 240 |
| 237 * `posix`: Whether the test is running on a POSIX operating system. This is | 241 * `posix`: Whether the test is running on a POSIX operating system. This is |
| 238 equivalent to `!windows`. | 242 equivalent to `!windows`. |
| 239 | 243 |
| 240 For example, if you wanted to run a test on every browser but Chrome, you would | 244 For example, if you wanted to run a test on every browser but Chrome, you would |
| 241 write `@TestOn("browser && !chrome")`. | 245 write `@TestOn("browser && !chrome")`. |
| 242 | 246 |
| 243 ### Running Tests on Dartium | 247 ### Running Tests on Dartium |
| 244 | 248 |
| 245 Tests can be run on [Dartium][] by passing the `-p dartium` flag. If you're | 249 Tests can be run on [Dartium][] by passing the `-p dartium` flag. If you're |
| 246 using the Dart Editor, the test runner will be able to find Dartium | 250 using the Dart Editor, the test runner will be able to find Dartium |
| (...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 644 available to tests. | 648 available to tests. |
| 645 | 649 |
| 646 [api]: http://www.dartdocs.org/documentation/test/latest/index.html | 650 [api]: http://www.dartdocs.org/documentation/test/latest/index.html |
| 647 | 651 |
| 648 The test runner also supports a machine-readable JSON-based reporter. This | 652 The test runner also supports a machine-readable JSON-based reporter. This |
| 649 reporter allows the test runner to be wrapped and its progress presented in | 653 reporter allows the test runner to be wrapped and its progress presented in |
| 650 custom ways (for example, in an IDE). See [the protocol documentation][json] for | 654 custom ways (for example, in an IDE). See [the protocol documentation][json] for |
| 651 more details. | 655 more details. |
| 652 | 656 |
| 653 [json]: https://github.com/dart-lang/test/blob/master/doc/json_reporter.md | 657 [json]: https://github.com/dart-lang/test/blob/master/doc/json_reporter.md |
| OLD | NEW |