Skip to content

Commit fca6708

Browse files
committed
Add v2.0.0 changelog to README
1 parent dfab75c commit fca6708

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,30 @@ Run `go-junit-report -help` for a list of all supported flags.
8585
| `-subtest-mode` | set subtest `mode`, modes are: `ignore-parent-results`, `exclude-parents` |
8686
| `-version` | print version and exit |
8787

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+
88112
## Contributing
89113

90114
See [CONTRIBUTING.md].

0 commit comments

Comments
 (0)