Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions go/core.rst
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,12 @@ equivalent of ``go test ./...``), run
::

bazel test --test_output=errors //...

To run a Go benchmark test, run

::

bazel run //path/to:test -- -test.bench=.

You can run specific tests by passing the `--test_filter=pattern <test_filter_>`_ argument to Bazel.
You can pass arguments to tests by passing `--test_arg=arg <test_arg_>`_ arguments to Bazel.
Expand Down