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

Unified Diff: README.md

Issue 1085643002: Update the README and test2.gif. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « no previous file | image/test2.gif » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: README.md
diff --git a/README.md b/README.md
index a937ea8196376fbdf745300f23dd384e8ee34092..321c43cb328b87d7dd82e33066f22606a718612b 100644
--- a/README.md
+++ b/README.md
@@ -80,7 +80,8 @@ A single test file can be run just using `dart path/to/test.dart`.
![Tests being run via "dart path/to/test.dart".](https://raw.githubusercontent.com/dart-lang/test/master/image/test1.gif)
-Many tests can be run at a time using `pub run test:test path/to/dir`.
+Many tests can be run at a time using `pub run test:test path/to/dir` (on Dart
+1.10, this can be shortened to `pub run test path/to/dir`).
![Directory being run via "pub run".](https://raw.githubusercontent.com/dart-lang/test/master/image/test2.gif)
@@ -135,6 +136,8 @@ valid identifiers are:
* `chrome`: Whether the test is running on Google Chrome.
+* `firefox`: Whether the test is running on Mozilla Firefox.
+
* `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`.
@@ -277,10 +280,10 @@ Build completed successfully
```
In this case, the port is `8081`. In another terminal, pass this port to
-`--pub-serve` and otherwise invoke `pub run test` as normal:
+`--pub-serve` and otherwise invoke `pub run test:test` as normal:
```shell
-$ pub run test --pub-serve=8081 -p chrome
+$ pub run test:test --pub-serve=8081 -p chrome
"pub serve" is compiling test/my_app_test.dart...
"pub serve" is compiling test/utils_test.dart...
00:00 +42: All tests passed!
« no previous file with comments | « no previous file | image/test2.gif » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698