Closed sdowell closed 11 months ago
As of gotest 1.20, the output format has changed slightly. Previously when a test resumed execution, the === CONT string prefix was printed. Now the prefix is === NAME.
=== CONT
=== NAME
See https://go-review.git.corp.google.com/c/go/+/443596
This causes go-junit-report to fail when parsing gotest output from Go 1.20+. The parsing logic should be updated to be aware of the === NAME prefix, for example in the following code path: https://github.com/jstemmer/go-junit-report/blob/master/parser/gotest/gotest.go#L187
As of gotest 1.20, the output format has changed slightly. Previously when a test resumed execution, the
=== CONT
string prefix was printed. Now the prefix is=== NAME
.See https://go-review.git.corp.google.com/c/go/+/443596
This causes go-junit-report to fail when parsing gotest output from Go 1.20+. The parsing logic should be updated to be aware of the
=== NAME
prefix, for example in the following code path: https://github.com/jstemmer/go-junit-report/blob/master/parser/gotest/gotest.go#L187