@@ -85,6 +85,30 @@ Run `go-junit-report -help` for a list of all supported flags.
85
85
| ` -subtest-mode ` | set subtest ` mode ` , modes are: ` ignore-parent-results ` , ` exclude-parents ` |
86
86
| ` -version ` | print version and exit |
87
87
88
+ ## Changelog
89
+
90
+ ### v2.0.0
91
+
92
+ - Support for parsing ` go test -json ` output.
93
+ - Distinguish between build/runtime errors and test failures.
94
+ - JUnit report now includes output for all tests and benchmarks, and global output that doesn't belong to any test.
95
+ - Use full Go package name in generated report instead of only last path segment.
96
+ - Add support for reading skipped/failed benchmarks.
97
+ - Add ` -subtest-mode ` flag to exclude or ignore results of subtest parent tests.
98
+ - Add ` -in ` and ` -out ` flags for specifying input and output files respectively.
99
+ - Add ` -iocopy ` flag to copy stdin directly to stdout.
100
+ - Add ` -prop ` flags to set key/value properties in generated report.
101
+ - Add ` -parser ` flag to switch between regular ` go test ` (default) and ` go test -json ` parsing.
102
+ - Output in JUnit XML is written in ` <![CDATA[]]> ` tags for improved readability.
103
+ - Add ` hostname ` , ` timestamp ` and ` id ` attributes to JUnit XML.
104
+ - Improve accuracy of benchmark time calculation and update formatting in report.
105
+ - No longer strip leading whitespace from test output.
106
+ - The ` formatter ` and ` parser ` packages have been replaced with ` junit ` and ` parser/gotest ` packages respectively.
107
+ - Add support for parsing lines longer than 64KiB.
108
+ - The JUnit errors/failures attributes are now required fields.
109
+ - Drop support for parsing pre-Go1.13 test output.
110
+ - Deprecate ` -go-version ` flag.
111
+
88
112
## Contributing
89
113
90
114
See [ CONTRIBUTING.md] .
0 commit comments