go-test
Options for Go tests.
Backend: pants.backend.experimental.go
Config section: [go-test]
Basic options
args
args
--go-test-args="[<shell_str>, <shell_str>, ...]", ... -- [<shell_str> [<shell_str> [...]]]
PANTS_GO_TEST_ARGS
default:
[]
Arguments to pass directly to Go test binary, e.g. --go-test-args='-run TestFoo -v'
.
Known Go test options will be transformed into the form expected by the test binary, e.g. -v
becomes -test.v
. Run go help testflag
from the Go SDK to learn more about the options supported by Go test binaries.
Advanced options
None
Deprecated options
None
Updated 8 months ago