Discover test directory automatically with the Go tool.