| Index: README.md
|
| diff --git a/README.md b/README.md
|
| index 321c43cb328b87d7dd82e33066f22606a718612b..5f1f63eb6832e0deda095a9b6e817baa5e66b91f 100644
|
| --- a/README.md
|
| +++ b/README.md
|
| @@ -134,13 +134,12 @@ valid identifiers are:
|
|
|
| * `vm`: Whether the test is running on the command-line Dart VM.
|
|
|
| -* `chrome`: Whether the test is running on Google Chrome.
|
| +* `dartium`: Whether the test is running on Dartium.
|
|
|
| -* `firefox`: Whether the test is running on Mozilla Firefox.
|
| +* `chrome`: Whether the test is running on Google Chrome.
|
|
|
| -* `dart-vm`: Whether the test is running on the Dart VM in any context. For now
|
| - this is identical to `vm`, but it will also be true for Dartium in the future.
|
| - It's identical to `!js`.
|
| +* `dart-vm`: Whether the test is running on the Dart VM in any context,
|
| + including Dartium. It's identical to `!js`.
|
|
|
| * `browser`: Whether the test is running in any browser.
|
|
|
| @@ -169,6 +168,22 @@ valid identifiers are:
|
| For example, if you wanted to run a test on every browser but Chrome, you would
|
| write `@TestOn("browser && !chrome")`.
|
|
|
| +### Running Tests on Dartium
|
| +
|
| +Tests can be run on [Dartium][] by passing the `-p dartium` flag. If you're
|
| +using the Dart Editor, the test runner will be able to find Dartium
|
| +automatically. However, since it usually isn't installed on a system-wide basis,
|
| +the test runner may not otherwise be able to find the Dartium executable. To use
|
| +it without the Editor, make sure there's an executable called `dartium` (on Mac
|
| +OS or Linux) or `dartium.exe` (on Windows) on your system path.
|
| +
|
| +[Dartium]: https://www.dartlang.org/tools/dartium/
|
| +
|
| +[In the future][issue 63], there will be a more explicit way to configure the
|
| +location of the executable.
|
| +
|
| +[issue 63]: https://github.com/dart-lang/test/issues/63
|
| +
|
| ## Asynchronous Tests
|
|
|
| Tests written with `async`/`await` will work automatically. The test runner
|
|
|