Releases: jstemmer/go-junit-report
Releases · jstemmer/go-junit-report
Version 2.1.0
v2.1.0 changelog
- Fix #147: Make timestamps in generated report more accurate.
- Fix #140: Escape illegal XML characters in junit output.
- Fix #145: Handle build errors in test packages with the
_testsuffix. - Fix #145: Don't ignore build errors that did not belong to a package.
- Fix #134: Json test output was not parsed correctly when using the
-raceflag ingo test. - Add support for
=== NAMElines introduced in Go1.20 - junit: Add File attribute to
testsuite. - junit: Allow multiple properties with the same name.
- junit: Add the
Testsuites.WriteXMLconvenience method.
Version 2.0.0
Changes since v1.0.0
- Support for parsing
go test -jsonoutput. - Distinguish between build/runtime errors and test failures.
- JUnit report now includes output for all tests and benchmarks, and global output that doesn't belong to any test.
- Use full Go package name in generated report instead of only last path segment.
- Add support for reading skipped/failed benchmarks.
- Add
-subtest-modeflag to exclude or ignore results of subtest parent tests. - Add
-inand-outflags for specifying input and output files respectively. - Add
-iocopyflag to copy stdin directly to stdout. - Add
-propflags to set key/value properties in generated report. - Add
-parserflag to switch between regulargo test(default) andgo test -jsonparsing. - Output in JUnit XML is written in
<![CDATA[]]>tags for improved readability. - Add
hostname,timestampandidattributes to JUnit XML. - Improve accuracy of benchmark time calculation and update formatting in report.
- No longer strip leading whitespace from test output.
- The
formatterandparserpackages have been replaced withjunitandparser/gotestpackages respectively. - Add support for parsing lines longer than 64KiB.
- The JUnit errors/failures attributes are now required fields.
- Drop support for parsing pre-Go1.13 test output.
- Deprecate
-go-versionflag.
Version 2.0.0-beta1
v2.0.0-beta1 Version 2.0.0-beta1
Version 1.0.0
v1.0.0 Version 1.0.0