From d4277839f43a0ea69ca37501a768dffaeac9a2de Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Sat, 17 Dec 2022 17:45:34 +0100 Subject: [PATCH] filter-junit.go: preserve system error log Ginkgo v2 uses "system-err" to represent the log output of a test. This only matters for failed tests, but for those it is important to preserve that information. --- filter-junit.go | 1 + 1 file changed, 1 insertion(+) diff --git a/filter-junit.go b/filter-junit.go index 5454092b..8eb1b8e4 100644 --- a/filter-junit.go +++ b/filter-junit.go @@ -56,6 +56,7 @@ type TestCase struct { Name string `xml:"name,attr"` Time string `xml:"time,attr"` SystemOut string `xml:"system-out,omitempty"` + SystemErr string `xml:"system-err,omitempty"` Failure string `xml:"failure,omitempty"` Skipped SkipReason `xml:"skipped,omitempty"` }