Now that is a bit tricky.
Go code is split up in packages and each source file is supposed to be a part of one package in a specific subdirectory. Now while the package is stated via "package foo" on the first few lines, it is not unlikely that the file we're actually in has a different name than "foo.go". But the file containing the test data is supposedly in the same directory.
So, unless I have it do a search to find out the package name "foo" *and* its corresponding category "bar", which would involve tracing the directory, it is easier to just run it in the current working directory. Running test with just the package name (without category) gives an error.

In short: just `go test` is the correct thing to do.