aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd/tests.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/dev-cmd/tests.rb')
-rw-r--r--Library/Homebrew/dev-cmd/tests.rb20
1 files changed, 18 insertions, 2 deletions
diff --git a/Library/Homebrew/dev-cmd/tests.rb b/Library/Homebrew/dev-cmd/tests.rb
index b66d8db16..4f7f9e771 100644
--- a/Library/Homebrew/dev-cmd/tests.rb
+++ b/Library/Homebrew/dev-cmd/tests.rb
@@ -1,5 +1,21 @@
-#: * `tests` [`-v`] [`--coverage`] [`--generic`] [`--no-compat`] [`--only=`<test_script>`:`<line_number>] [`--seed` <seed>] [`--online`] [`--official-cmd-taps`]:
-#: Run Homebrew's unit and integration tests.
+#: * `tests` [`--verbose`] [`--coverage`] [`--generic`] [`--no-compat`] [`--only=`<test_script>[`:`<line_number>]] [`--seed` <seed>] [`--online`] [`--official-cmd-taps`]:
+#: Run Homebrew's unit and integration tests. If provided,
+#: `--only=`<test_script> runs only <test_script>_spec.rb, and `--seed`
+#: randomizes tests with the provided value instead of a random seed.
+#:
+#: If `--verbose` is passed, print the command that runs the tests.
+#:
+#: If `--coverage` is passed, also generate code coverage reports.
+#:
+#: If `--generic` is passed, only run OS-agnostic tests.
+#:
+#: If `--no-compat` is passed, do not load the compatibility layer when
+#: running tests.
+#:
+#: If `--online` is passed, include tests that use the GitHub API.
+#:
+#: If `--official-cmd-taps` is passed, include tests that use any of the
+#: taps for official external commands.
require "fileutils"
require "tap"