Skip to content

mdw-archives/parallel-golang-bug-report

Repository files navigation

parallel

This package runs tests and sub-tests both in parallel. The purpose of this is to illustrate a bug in the output of go test -json (and also go tool test2json) using Go 1.14 and Go 1.14.1. See lines 86-87 of "output-go1.14.1.txt" for evidence of this.

At SmartyStreets we have built our own testing library which makes heavy use of parallel tests and sub-tests (see t.Parallel()). After upgrading to Go 1.14 we noticed that failure output wasn't being presented correctly by the GoLand test runner.

About

Running go tests and subtests in parallel to illustrate a bug in Go 1.14

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published