:GoTest {-cnfpt} {-t tagname} {package_name} {-a args} *:GoTest*
-c: compile test in current package
-n: test nearest
-v: test verbose mode
-f: test current file
-p: test current package
-t: compile tag
-a: extra args for test, check `go help testflag` concatenate
with '\ ' if there are any spaces or mulitple args
-n {count}: disable cache -count={count}
package_name: test package
The -n flag appears twice, for different purposes, the last one is particularly confusing because it mentions -count, but that's not a valid flag for this command
These are the docs for
GoTest
The
-n
flag appears twice, for different purposes, the last one is particularly confusing because it mentions-count
, but that's not a valid flag for this command