I've got an internal project, where for the CI I've hooked go test -v -json | go-junit-report -out report.xml -iocopy | gotestfmt.
I've noticed that adding the -parser gojson produce some report.xml that contain inconsistent errors report! Running it multiple time generate different reports. Note that std output / parsing never report any failure.
Strangely enough, all errors are pretty much the same "xml wise" :
</testcase>
<testcase name="[some valid test name]" classname="[some INVALID package name for the given test]" time="0.000">
<error message="No test result found">
<![CDATA[! [test logging content] ]]>
</error>
</testcase>
Hi,
I've got an internal project, where for the CI I've hooked
go test -v -json | go-junit-report -out report.xml -iocopy | gotestfmt
.I've noticed that adding the
-parser gojson
produce some report.xml that contain inconsistent errors report! Running it multiple time generate different reports. Note that std output / parsing never report any failure.Strangely enough, all errors are pretty much the same "xml wise" :
Any idea about what I may doing wrong ? Thanks 🙏🏻