- Run tests in the current directory and all its subdirectories:
go test ./...
- Run tests in the specified directory and all its subdirectories:
go test foo/
- Run tests with the specified prefix:
go test bar...
Foobar is a term in the field of computer programming that has no actual use or reference significance. In documentation related to computer programming, the terms
foo
andbar
are common pseudonyms often used as "dummy variables."