title: Golang testing: "no test files"
body: <p>I'm creating a simple test within my package directory called reverseTest.go</p>
  
  <pre><code>package main
  
  import "testing"
  
  func TestReverse(t *testing.T) {
      cases := []struct {
          in, want string
      }{
          {"Hello, world", "dlrow ,olleH"},
          {"Hello, 世界", "界世 ,olleH"},
          {"", ""},
      }
  
      for _, c := range cases {
          got := Reverse(c.in)
          if got != c.want {
              t.Errorf("Reverse(%q) == %q, want %q", c.in, got, c.want)
          }
      }
  }
  </code></pre>
  
  <p>whenever i try to run it the output is</p>
  
  <pre><code>exampleFolder[no test files] 
  </code></pre>
  
  <p>this is my go env</p>
  
  <pre><code>GOARCH="amd64"
  GOBIN=""
  GOCHAR="6"
  GOEXE=""
  GOHOSTARCH="amd64"
  GOHOSTOS="linux"
  GOOS="linux"
  GOPATH="/home/juan/go"
  GORACE=""
  GOROOT="/usr/lib/go"
  GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64"
  TERM="dumb"
  CC="gcc"
  GOGCCFLAGS="-g -O2 -fPIC -m64 -pthread"
  CXX="g++"
  CGO_ENABLED="1"
  </code></pre>
  
  <p>Any help will be greatly appreciated. Thanks!!</p>