0

Is there any way to build all the test files in a project located inside multiple packages into a single binary file? To build binary inside a single package, I could use go test -c.

I need something like go test ./... -c,but this returns "cannot use -c flag with multiple packages"

1 Answers1

1

Is there any way to build all the test files in a project located inside multiple packages into a single binary file?

No.

Volker
  • 40,468
  • 7
  • 81
  • 87