blog.8-p.info

Go 1.14 Release Notes

go test -v now streams t.Log output as it happens, rather than at the end of all tests.

Finally!

Previously t.Log() and t.Logf() buffer the output till the end of a test, which was surprising. That forced me to use fmt.Printf() or whatever a logger available.

The issue has been opened since 2018 and it has finally landed on Go 1.14.