update all wording from `pub run test` to `dart test` (#1554)

diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml
index 66e5879..a83d048 100644
--- a/.github/workflows/dart.yml
+++ b/.github/workflows/dart.yml
@@ -183,7 +183,7 @@
       - job_001
       - job_002
   job_005:
-    name: "unit_test; linux; Dart dev; PKG: pkgs/test; `xvfb-run -s \"-screen 0 1024x768x24\" pub run test --preset travis --total-shards 5 --shard-index 0`"
+    name: "unit_test; linux; Dart dev; PKG: pkgs/test; `xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 0`"
     runs-on: ubuntu-latest
     steps:
       - name: Cache Pub hosted dependencies
@@ -206,15 +206,15 @@
         if: "always() && steps.checkout.conclusion == 'success'"
         working-directory: pkgs/test
         run: dart pub upgrade
-      - name: "pkgs/test; xvfb-run -s \"-screen 0 1024x768x24\" pub run test --preset travis --total-shards 5 --shard-index 0"
+      - name: "pkgs/test; xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 0"
         if: "always() && steps.pkgs_test_pub_upgrade.conclusion == 'success'"
         working-directory: pkgs/test
-        run: "xvfb-run -s \"-screen 0 1024x768x24\" pub run test --preset travis --total-shards 5 --shard-index 0"
+        run: "xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 0"
     needs:
       - job_001
       - job_002
   job_006:
-    name: "unit_test; linux; Dart dev; PKG: pkgs/test; `xvfb-run -s \"-screen 0 1024x768x24\" pub run test --preset travis --total-shards 5 --shard-index 1`"
+    name: "unit_test; linux; Dart dev; PKG: pkgs/test; `xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 1`"
     runs-on: ubuntu-latest
     steps:
       - name: Cache Pub hosted dependencies
@@ -237,15 +237,15 @@
         if: "always() && steps.checkout.conclusion == 'success'"
         working-directory: pkgs/test
         run: dart pub upgrade
-      - name: "pkgs/test; xvfb-run -s \"-screen 0 1024x768x24\" pub run test --preset travis --total-shards 5 --shard-index 1"
+      - name: "pkgs/test; xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 1"
         if: "always() && steps.pkgs_test_pub_upgrade.conclusion == 'success'"
         working-directory: pkgs/test
-        run: "xvfb-run -s \"-screen 0 1024x768x24\" pub run test --preset travis --total-shards 5 --shard-index 1"
+        run: "xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 1"
     needs:
       - job_001
       - job_002
   job_007:
-    name: "unit_test; linux; Dart dev; PKG: pkgs/test; `xvfb-run -s \"-screen 0 1024x768x24\" pub run test --preset travis --total-shards 5 --shard-index 2`"
+    name: "unit_test; linux; Dart dev; PKG: pkgs/test; `xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 2`"
     runs-on: ubuntu-latest
     steps:
       - name: Cache Pub hosted dependencies
@@ -268,15 +268,15 @@
         if: "always() && steps.checkout.conclusion == 'success'"
         working-directory: pkgs/test
         run: dart pub upgrade
-      - name: "pkgs/test; xvfb-run -s \"-screen 0 1024x768x24\" pub run test --preset travis --total-shards 5 --shard-index 2"
+      - name: "pkgs/test; xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 2"
         if: "always() && steps.pkgs_test_pub_upgrade.conclusion == 'success'"
         working-directory: pkgs/test
-        run: "xvfb-run -s \"-screen 0 1024x768x24\" pub run test --preset travis --total-shards 5 --shard-index 2"
+        run: "xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 2"
     needs:
       - job_001
       - job_002
   job_008:
-    name: "unit_test; linux; Dart dev; PKG: pkgs/test; `xvfb-run -s \"-screen 0 1024x768x24\" pub run test --preset travis --total-shards 5 --shard-index 3`"
+    name: "unit_test; linux; Dart dev; PKG: pkgs/test; `xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 3`"
     runs-on: ubuntu-latest
     steps:
       - name: Cache Pub hosted dependencies
@@ -299,15 +299,15 @@
         if: "always() && steps.checkout.conclusion == 'success'"
         working-directory: pkgs/test
         run: dart pub upgrade
-      - name: "pkgs/test; xvfb-run -s \"-screen 0 1024x768x24\" pub run test --preset travis --total-shards 5 --shard-index 3"
+      - name: "pkgs/test; xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 3"
         if: "always() && steps.pkgs_test_pub_upgrade.conclusion == 'success'"
         working-directory: pkgs/test
-        run: "xvfb-run -s \"-screen 0 1024x768x24\" pub run test --preset travis --total-shards 5 --shard-index 3"
+        run: "xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 3"
     needs:
       - job_001
       - job_002
   job_009:
-    name: "unit_test; linux; Dart dev; PKG: pkgs/test; `xvfb-run -s \"-screen 0 1024x768x24\" pub run test --preset travis --total-shards 5 --shard-index 4`"
+    name: "unit_test; linux; Dart dev; PKG: pkgs/test; `xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 4`"
     runs-on: ubuntu-latest
     steps:
       - name: Cache Pub hosted dependencies
@@ -330,15 +330,15 @@
         if: "always() && steps.checkout.conclusion == 'success'"
         working-directory: pkgs/test
         run: dart pub upgrade
-      - name: "pkgs/test; xvfb-run -s \"-screen 0 1024x768x24\" pub run test --preset travis --total-shards 5 --shard-index 4"
+      - name: "pkgs/test; xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 4"
         if: "always() && steps.pkgs_test_pub_upgrade.conclusion == 'success'"
         working-directory: pkgs/test
-        run: "xvfb-run -s \"-screen 0 1024x768x24\" pub run test --preset travis --total-shards 5 --shard-index 4"
+        run: "xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 4"
     needs:
       - job_001
       - job_002
   job_010:
-    name: "unit_test; linux; Dart dev; PKG: pkgs/test_api; `pub run test --preset travis -x browser`"
+    name: "unit_test; linux; Dart dev; PKG: pkgs/test_api; `dart test --preset travis -x browser`"
     runs-on: ubuntu-latest
     steps:
       - name: Cache Pub hosted dependencies
@@ -361,10 +361,10 @@
         if: "always() && steps.checkout.conclusion == 'success'"
         working-directory: pkgs/test_api
         run: dart pub upgrade
-      - name: "pkgs/test_api; pub run test --preset travis -x browser"
+      - name: "pkgs/test_api; dart test --preset travis -x browser"
         if: "always() && steps.pkgs_test_api_pub_upgrade.conclusion == 'success'"
         working-directory: pkgs/test_api
-        run: pub run test --preset travis -x browser
+        run: dart test --preset travis -x browser
     needs:
       - job_001
       - job_002
@@ -431,7 +431,7 @@
       - job_001
       - job_002
   job_013:
-    name: "unit_test; linux; Dart stable; PKG: pkgs/test; `xvfb-run -s \"-screen 0 1024x768x24\" pub run test --preset travis --total-shards 5 --shard-index 0`"
+    name: "unit_test; linux; Dart stable; PKG: pkgs/test; `xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 0`"
     runs-on: ubuntu-latest
     steps:
       - name: Cache Pub hosted dependencies
@@ -454,15 +454,15 @@
         if: "always() && steps.checkout.conclusion == 'success'"
         working-directory: pkgs/test
         run: dart pub upgrade
-      - name: "pkgs/test; xvfb-run -s \"-screen 0 1024x768x24\" pub run test --preset travis --total-shards 5 --shard-index 0"
+      - name: "pkgs/test; xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 0"
         if: "always() && steps.pkgs_test_pub_upgrade.conclusion == 'success'"
         working-directory: pkgs/test
-        run: "xvfb-run -s \"-screen 0 1024x768x24\" pub run test --preset travis --total-shards 5 --shard-index 0"
+        run: "xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 0"
     needs:
       - job_001
       - job_002
   job_014:
-    name: "unit_test; linux; Dart stable; PKG: pkgs/test; `xvfb-run -s \"-screen 0 1024x768x24\" pub run test --preset travis --total-shards 5 --shard-index 1`"
+    name: "unit_test; linux; Dart stable; PKG: pkgs/test; `xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 1`"
     runs-on: ubuntu-latest
     steps:
       - name: Cache Pub hosted dependencies
@@ -485,15 +485,15 @@
         if: "always() && steps.checkout.conclusion == 'success'"
         working-directory: pkgs/test
         run: dart pub upgrade
-      - name: "pkgs/test; xvfb-run -s \"-screen 0 1024x768x24\" pub run test --preset travis --total-shards 5 --shard-index 1"
+      - name: "pkgs/test; xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 1"
         if: "always() && steps.pkgs_test_pub_upgrade.conclusion == 'success'"
         working-directory: pkgs/test
-        run: "xvfb-run -s \"-screen 0 1024x768x24\" pub run test --preset travis --total-shards 5 --shard-index 1"
+        run: "xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 1"
     needs:
       - job_001
       - job_002
   job_015:
-    name: "unit_test; linux; Dart stable; PKG: pkgs/test; `xvfb-run -s \"-screen 0 1024x768x24\" pub run test --preset travis --total-shards 5 --shard-index 2`"
+    name: "unit_test; linux; Dart stable; PKG: pkgs/test; `xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 2`"
     runs-on: ubuntu-latest
     steps:
       - name: Cache Pub hosted dependencies
@@ -516,15 +516,15 @@
         if: "always() && steps.checkout.conclusion == 'success'"
         working-directory: pkgs/test
         run: dart pub upgrade
-      - name: "pkgs/test; xvfb-run -s \"-screen 0 1024x768x24\" pub run test --preset travis --total-shards 5 --shard-index 2"
+      - name: "pkgs/test; xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 2"
         if: "always() && steps.pkgs_test_pub_upgrade.conclusion == 'success'"
         working-directory: pkgs/test
-        run: "xvfb-run -s \"-screen 0 1024x768x24\" pub run test --preset travis --total-shards 5 --shard-index 2"
+        run: "xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 2"
     needs:
       - job_001
       - job_002
   job_016:
-    name: "unit_test; linux; Dart stable; PKG: pkgs/test; `xvfb-run -s \"-screen 0 1024x768x24\" pub run test --preset travis --total-shards 5 --shard-index 3`"
+    name: "unit_test; linux; Dart stable; PKG: pkgs/test; `xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 3`"
     runs-on: ubuntu-latest
     steps:
       - name: Cache Pub hosted dependencies
@@ -547,15 +547,15 @@
         if: "always() && steps.checkout.conclusion == 'success'"
         working-directory: pkgs/test
         run: dart pub upgrade
-      - name: "pkgs/test; xvfb-run -s \"-screen 0 1024x768x24\" pub run test --preset travis --total-shards 5 --shard-index 3"
+      - name: "pkgs/test; xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 3"
         if: "always() && steps.pkgs_test_pub_upgrade.conclusion == 'success'"
         working-directory: pkgs/test
-        run: "xvfb-run -s \"-screen 0 1024x768x24\" pub run test --preset travis --total-shards 5 --shard-index 3"
+        run: "xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 3"
     needs:
       - job_001
       - job_002
   job_017:
-    name: "unit_test; linux; Dart stable; PKG: pkgs/test; `xvfb-run -s \"-screen 0 1024x768x24\" pub run test --preset travis --total-shards 5 --shard-index 4`"
+    name: "unit_test; linux; Dart stable; PKG: pkgs/test; `xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 4`"
     runs-on: ubuntu-latest
     steps:
       - name: Cache Pub hosted dependencies
@@ -578,15 +578,15 @@
         if: "always() && steps.checkout.conclusion == 'success'"
         working-directory: pkgs/test
         run: dart pub upgrade
-      - name: "pkgs/test; xvfb-run -s \"-screen 0 1024x768x24\" pub run test --preset travis --total-shards 5 --shard-index 4"
+      - name: "pkgs/test; xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 4"
         if: "always() && steps.pkgs_test_pub_upgrade.conclusion == 'success'"
         working-directory: pkgs/test
-        run: "xvfb-run -s \"-screen 0 1024x768x24\" pub run test --preset travis --total-shards 5 --shard-index 4"
+        run: "xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 4"
     needs:
       - job_001
       - job_002
   job_018:
-    name: "unit_test; linux; Dart stable; PKG: pkgs/test_api; `pub run test --preset travis -x browser`"
+    name: "unit_test; linux; Dart stable; PKG: pkgs/test_api; `dart test --preset travis -x browser`"
     runs-on: ubuntu-latest
     steps:
       - name: Cache Pub hosted dependencies
@@ -609,10 +609,10 @@
         if: "always() && steps.checkout.conclusion == 'success'"
         working-directory: pkgs/test_api
         run: dart pub upgrade
-      - name: "pkgs/test_api; pub run test --preset travis -x browser"
+      - name: "pkgs/test_api; dart test --preset travis -x browser"
         if: "always() && steps.pkgs_test_api_pub_upgrade.conclusion == 'success'"
         working-directory: pkgs/test_api
-        run: pub run test --preset travis -x browser
+        run: dart test --preset travis -x browser
     needs:
       - job_001
       - job_002
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 85db679..61f02f2 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -31,7 +31,7 @@
 [pr]: https://help.github.com/articles/creating-a-pull-request/
 
 Functional changes will require tests to be added or changed. The tests live in
-the `test/` directory for each package, and are run with `pub run test`. If you
+the `test/` directory for each package, and are run with `dart test`. If you
 need to create new tests, use the existing tests as a guideline for what they
 should look like.
 
diff --git a/pkgs/test/README.md b/pkgs/test/README.md
index aec58e0..4161996 100644
--- a/pkgs/test/README.md
+++ b/pkgs/test/README.md
@@ -150,11 +150,12 @@
 
 ## Running Tests
 
-A single test file can be run just using `pub run test path/to/test.dart`.
+A single test file can be run just using `dart test path/to/test.dart` (as of
+Dart 2.10 - prior sdk versions must use `pub run test` instead of `dart test`).
 
 ![Single file being run via "pub run"](https://raw.githubusercontent.com/dart-lang/test/master/pkgs/test/image/test1.gif)
 
-Many tests can be run at a time using `pub run test path/to/dir`.
+Many tests can be run at a time using `dart test path/to/dir`.
 
 ![Directory being run via "pub run".](https://raw.githubusercontent.com/dart-lang/test/master/pkgs/test/image/test2.gif)
 
@@ -166,17 +167,17 @@
 file. If you don't pass any paths, it will run all the test files in your
 `test/` directory, making it easy to test your entire application at once.
 
-You can select specific tests cases to run by name using `pub run test -n "test
+You can select specific tests cases to run by name using `dart test -n "test
 name"`. The string is interpreted as a regular expression, and only tests whose
 description (including any group descriptions) match that regular expression
 will be run. You can also use the `-N` flag to run tests whose names contain a
 plain-text string.
 
 By default, tests are run in the Dart VM, but you can run them in the browser as
-well by passing `pub run test -p chrome path/to/test.dart`. `test` will take
+well by passing `dart test -p chrome path/to/test.dart`. `test` will take
 care of starting the browser and loading the tests, and all the results will be
 reported on the command line just like for VM tests. In fact, you can even run
-tests on both platforms with a single command: `pub run test -p "chrome,vm"
+tests on both platforms with a single command: `dart test -p "chrome,vm"
 path/to/test.dart`.
 
 ### Sharding Tests
@@ -185,9 +186,9 @@
 if you wanted to run 3 shards of your test suite, you could run them as follows:
 
 ```bash
-pub run test --total-shards 3 --shard-index 0 path/to/test.dart
-pub run test --total-shards 3 --shard-index 1 path/to/test.dart
-pub run test --total-shards 3 --shard-index 2 path/to/test.dart
+dart test --total-shards 3 --shard-index 0 path/to/test.dart
+dart test --total-shards 3 --shard-index 1 path/to/test.dart
+dart test --total-shards 3 --shard-index 2 path/to/test.dart
 ```
 
 ### Shuffling Tests
@@ -197,8 +198,8 @@
 a random seed for each run. For example, consider the following test runs:
 
 ```bash
-pub run test --test-randomize-ordering-seed=12345
-pub run test --test-randomize-ordering-seed=random
+dart test --test-randomize-ordering-seed=12345
+dart test --test-randomize-ordering-seed=random
 ```
 
 Setting `--test-randomize-ordering-seed=0` will have the same effect as not
diff --git a/pkgs/test/doc/architecture.md b/pkgs/test/doc/architecture.md
index 922c8ce..7f9843a 100644
--- a/pkgs/test/doc/architecture.md
+++ b/pkgs/test/doc/architecture.md
@@ -66,7 +66,7 @@
 ### Runner
 
 The [`lib/src/runner`][runner] directory contains the code that's executed when
-`pub run test` is invoked. It's in charge of locating test files, loading them,
+`dart test` is invoked. It's in charge of locating test files, loading them,
 executing them, and communicating their results to the user. It's also by far
 the biggest section. For more information on the runner architecture, see
 [Lifecycle of a Test Run](#lifecycle-of-a-test-suite) below.
@@ -76,7 +76,7 @@
 ## Lifecycle of a Test Run
 
 To understand generally how the test runner works, let's look at an example run.
-When the user first invokes `pub run test`, the command-line arguments and
+When the user first invokes `dart test`, the command-line arguments and
 [configuration files][] are combined into a single
 [`Configuration`][Configuration] object which is passed into the
 [`Runner`][Runner] class. The `Runner` is mostly just glue: it starts up the
diff --git a/pkgs/test/doc/configuration.md b/pkgs/test/doc/configuration.md
index 0c78b53..45b5dd2 100644
--- a/pkgs/test/doc/configuration.md
+++ b/pkgs/test/doc/configuration.md
@@ -684,7 +684,7 @@
       executable: chromium
 ```
 
-Once this is defined, you can run `pub run test -p chromium` and it will run
+Once this is defined, you can run `dart test -p chromium` and it will run
 those tests in the Chromium browser, using the same logic it normally uses for
 Chrome. You can even use `chromium` in platform selectors; for example, you
 might pass `testOn: "chromium"` to declare that a test is Chromium-specific.
diff --git a/pkgs/test/doc/json_reporter.md b/pkgs/test/doc/json_reporter.md
index 72d0276..be18ddb 100644
--- a/pkgs/test/doc/json_reporter.md
+++ b/pkgs/test/doc/json_reporter.md
@@ -17,12 +17,12 @@
 Pass the `--reporter json` command-line flag to the test runner to activate the
 JSON reporter.
 
-    pub run test --reporter json <path-to-test-file>
+    dart test --reporter json <path-to-test-file>
 
 You may also use the `--file-reporter` option to enable the JSON reporter output
 to a file, in addition to another reporter writing to stdout.
 
-    pub run test --file-reporter json:reports/tests.json <path-to-test-file>
+    dart test --file-reporter json:reports/tests.json <path-to-test-file>
 
 The JSON stream will be emitted via standard output. It will be a stream of JSON
 objects, separated by newlines.
diff --git a/pkgs/test/mono_pkg.yaml b/pkgs/test/mono_pkg.yaml
index 872031c..6b767aa 100644
--- a/pkgs/test/mono_pkg.yaml
+++ b/pkgs/test/mono_pkg.yaml
@@ -10,8 +10,8 @@
         dart:
         - dev
     - unit_test:
-      - command: xvfb-run -s "-screen 0 1024x768x24" pub run test --preset travis --total-shards 5 --shard-index 0
-      - command: xvfb-run -s "-screen 0 1024x768x24" pub run test --preset travis --total-shards 5 --shard-index 1
-      - command: xvfb-run -s "-screen 0 1024x768x24" pub run test --preset travis --total-shards 5 --shard-index 2
-      - command: xvfb-run -s "-screen 0 1024x768x24" pub run test --preset travis --total-shards 5 --shard-index 3
-      - command: xvfb-run -s "-screen 0 1024x768x24" pub run test --preset travis --total-shards 5 --shard-index 4
+      - command: xvfb-run -s "-screen 0 1024x768x24" dart test --preset travis --total-shards 5 --shard-index 0
+      - command: xvfb-run -s "-screen 0 1024x768x24" dart test --preset travis --total-shards 5 --shard-index 1
+      - command: xvfb-run -s "-screen 0 1024x768x24" dart test --preset travis --total-shards 5 --shard-index 2
+      - command: xvfb-run -s "-screen 0 1024x768x24" dart test --preset travis --total-shards 5 --shard-index 3
+      - command: xvfb-run -s "-screen 0 1024x768x24" dart test --preset travis --total-shards 5 --shard-index 4
diff --git a/pkgs/test/test/runner/runner_test.dart b/pkgs/test/test/runner/runner_test.dart
index 0386fbf..5ea9f86 100644
--- a/pkgs/test/test/runner/runner_test.dart
+++ b/pkgs/test/test/runner/runner_test.dart
@@ -54,7 +54,7 @@
 final _defaultConcurrency = math.max(1, Platform.numberOfProcessors ~/ 2);
 
 final _usage = '''
-Usage: pub run test [files or directories...]
+Usage: dart test [files or directories...]
 
 -h, --help                            Show this usage information.
     --version                         Show the package:test version.
diff --git a/pkgs/test_api/lib/src/backend/invoker.dart b/pkgs/test_api/lib/src/backend/invoker.dart
index bc6aa8d..54e3c03 100644
--- a/pkgs/test_api/lib/src/backend/invoker.dart
+++ b/pkgs/test_api/lib/src/backend/invoker.dart
@@ -352,7 +352,7 @@
         !liveTest.suite.isLoadSuite) {
       _printsOnFailure.add('Consider enabling the flag chain-stack-traces to '
           'receive more detailed exceptions.\n'
-          "For example, 'pub run test --chain-stack-traces'.");
+          "For example, 'dart test --chain-stack-traces'.");
     }
 
     if (_printsOnFailure.isNotEmpty) {
diff --git a/pkgs/test_api/lib/src/scaffolding/spawn_hybrid.dart b/pkgs/test_api/lib/src/scaffolding/spawn_hybrid.dart
index ef2d86f..6e01fe8 100644
--- a/pkgs/test_api/lib/src/scaffolding/spawn_hybrid.dart
+++ b/pkgs/test_api/lib/src/scaffolding/spawn_hybrid.dart
@@ -151,7 +151,7 @@
   var channel = Zone.current[#test.runner.test_channel] as MultiChannel?;
   if (channel == null) {
     throw UnsupportedError("Can't connect to the test runner.\n"
-        'spawnHybridUri() is currently only supported within "pub run test".');
+        'spawnHybridUri() is currently only supported within "dart test".');
   }
 
   ensureJsonEncodable(message);
diff --git a/pkgs/test_api/mono_pkg.yaml b/pkgs/test_api/mono_pkg.yaml
index 93dfa56..10382a2 100644
--- a/pkgs/test_api/mono_pkg.yaml
+++ b/pkgs/test_api/mono_pkg.yaml
@@ -11,7 +11,7 @@
       - dev
   - unit_test:
     - group:
-      - command: pub run test --preset travis -x browser
+      - command: dart test --preset travis -x browser
         os:
         - linux
         - windows
diff --git a/pkgs/test_api/test/backend/invoker_test.dart b/pkgs/test_api/test/backend/invoker_test.dart
index d4175dc..9713769 100644
--- a/pkgs/test_api/test/backend/invoker_test.dart
+++ b/pkgs/test_api/test/backend/invoker_test.dart
@@ -540,7 +540,7 @@
       },
           prints('Consider enabling the flag chain-stack-traces to '
               'receive more detailed exceptions.\n'
-              "For example, 'pub run test --chain-stack-traces'.\n"));
+              "For example, 'dart test --chain-stack-traces'.\n"));
     });
   });
 
diff --git a/pkgs/test_core/lib/src/executable.dart b/pkgs/test_core/lib/src/executable.dart
index bf31116..ec328c0 100644
--- a/pkgs/test_core/lib/src/executable.dart
+++ b/pkgs/test_core/lib/src/executable.dart
@@ -188,7 +188,7 @@
 
   output.write('''${wordWrap(message)}
 
-Usage: pub run test [files or directories...]
+Usage: dart test [files or directories...]
 
 ${Configuration.usage}
 ''');
diff --git a/tool/ci.sh b/tool/ci.sh
index 6d7edf7..a2ccc8c 100755
--- a/tool/ci.sh
+++ b/tool/ci.sh
@@ -72,28 +72,28 @@
         dart analyze --fatal-infos --fatal-warnings . || EXIT_CODE=$?
         ;;
       command_0)
-        echo 'xvfb-run -s "-screen 0 1024x768x24" pub run test --preset travis --total-shards 5 --shard-index 0'
-        xvfb-run -s "-screen 0 1024x768x24" pub run test --preset travis --total-shards 5 --shard-index 0 || EXIT_CODE=$?
+        echo 'xvfb-run -s "-screen 0 1024x768x24" dart test --preset travis --total-shards 5 --shard-index 0'
+        xvfb-run -s "-screen 0 1024x768x24" dart test --preset travis --total-shards 5 --shard-index 0 || EXIT_CODE=$?
         ;;
       command_1)
-        echo 'xvfb-run -s "-screen 0 1024x768x24" pub run test --preset travis --total-shards 5 --shard-index 1'
-        xvfb-run -s "-screen 0 1024x768x24" pub run test --preset travis --total-shards 5 --shard-index 1 || EXIT_CODE=$?
+        echo 'xvfb-run -s "-screen 0 1024x768x24" dart test --preset travis --total-shards 5 --shard-index 1'
+        xvfb-run -s "-screen 0 1024x768x24" dart test --preset travis --total-shards 5 --shard-index 1 || EXIT_CODE=$?
         ;;
       command_2)
-        echo 'xvfb-run -s "-screen 0 1024x768x24" pub run test --preset travis --total-shards 5 --shard-index 2'
-        xvfb-run -s "-screen 0 1024x768x24" pub run test --preset travis --total-shards 5 --shard-index 2 || EXIT_CODE=$?
+        echo 'xvfb-run -s "-screen 0 1024x768x24" dart test --preset travis --total-shards 5 --shard-index 2'
+        xvfb-run -s "-screen 0 1024x768x24" dart test --preset travis --total-shards 5 --shard-index 2 || EXIT_CODE=$?
         ;;
       command_3)
-        echo 'xvfb-run -s "-screen 0 1024x768x24" pub run test --preset travis --total-shards 5 --shard-index 3'
-        xvfb-run -s "-screen 0 1024x768x24" pub run test --preset travis --total-shards 5 --shard-index 3 || EXIT_CODE=$?
+        echo 'xvfb-run -s "-screen 0 1024x768x24" dart test --preset travis --total-shards 5 --shard-index 3'
+        xvfb-run -s "-screen 0 1024x768x24" dart test --preset travis --total-shards 5 --shard-index 3 || EXIT_CODE=$?
         ;;
       command_4)
-        echo 'xvfb-run -s "-screen 0 1024x768x24" pub run test --preset travis --total-shards 5 --shard-index 4'
-        xvfb-run -s "-screen 0 1024x768x24" pub run test --preset travis --total-shards 5 --shard-index 4 || EXIT_CODE=$?
+        echo 'xvfb-run -s "-screen 0 1024x768x24" dart test --preset travis --total-shards 5 --shard-index 4'
+        xvfb-run -s "-screen 0 1024x768x24" dart test --preset travis --total-shards 5 --shard-index 4 || EXIT_CODE=$?
         ;;
       command_5)
-        echo 'pub run test --preset travis -x browser'
-        pub run test --preset travis -x browser || EXIT_CODE=$?
+        echo 'dart test --preset travis -x browser'
+        dart test --preset travis -x browser || EXIT_CODE=$?
         ;;
       format)
         echo 'dart format --output=none --set-exit-if-changed .'