Skip to content

Commit

Permalink
filter-junit.go: preserve system error log
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pohly committed Dec 17, 2022
1 parent 38e1146 commit d427783
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions filter-junit.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}
Expand Down

0 comments on commit d427783

Please sign in to comment.