1

I noticed that go test seems to print to stdout after tests have finished.

I'm not sure if this is go test's issue, or because I am using ginkgo as well.

Does anyone know how to make it print output as the tests run?

stackoverflower
  • 3,885
  • 10
  • 47
  • 71
  • 1
    Related: https://stackoverflow.com/questions/23205419/how-do-you-print-in-a-go-test-using-the-testing-package – JimB Nov 28 '17 at 16:00

1 Answers1

2

Use the verbose flag on go test to see output of log or print statements as tests are run.

go test -v 
Kenny Grant
  • 9,360
  • 2
  • 33
  • 47