go test prints output only after tests have finished

2.3k views Asked by At

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?

1

There are 1 answers

0
Kenny Grant On

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

go test -v