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

Top of the Week

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes