We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b306db commit 8f0d467Copy full SHA for 8f0d467
tests/colors.go
@@ -20,5 +20,11 @@ import (
20
// for an exhaustive list of color options.
21
func Outf(format string, args ...interface{}) {
22
s := formatter.F(format, args...)
23
+ // Use GinkgoWriter to ensure that output from this function is
24
+ // printed sequentially within other test output produced with
25
+ // GinkgoWriter (e.g. `STEP:...`) when tests are run in
26
+ // parallel. ginkgo collects and writes stdout separately from
27
+ // GinkgoWriter during parallel execution and the resulting output
28
+ // can be confusing.
29
ginkgo.GinkgoWriter.Print(s)
30
}
0 commit comments