0

At the root of my project, I have a main.go and a main_test.go file. I have another test file query_test.go that is in a nested folder and that doesn't get run. How do I make go test run all files that end with _test?

sdfsdf
  • 5,052
  • 9
  • 42
  • 75

1 Answers1

6

To run all tests you just do:

go test ./...
dave
  • 62,300
  • 5
  • 72
  • 93