Dave Cheney 3/10/2020

go test -v streaming output

Read Original

This article details a quality-of-life improvement in Go 1.14 where the `go test -v` command now streams output from `t.Log` statements as they happen, instead of buffering them until the test finishes. It provides a code example contrasting behavior between Go 1.13 and 1.14, highlighting how this change benefits debugging, especially for long-running or integration-style tests.

go test -v streaming output

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser