Releases: gotestyourself/gotestsum
v1.12.0
What's Changed
- filewatcher: silence warning from os.Stat failures by @smoynes in #371
- Add format-icons flag for nerdfonts instead of unicode by @afbjorklund in #366
- Add support for gotestsum on illumos/amd64 by @szaydel in #373
- Improve warning message when stdin is not a terminal by @smoynes in #374
- Used named constants instead of magic numbers in illumos-specific code by @szaydel in #375
- Add Mattermost to README.md links by @lieut-data in #378
- Update gotestsum retries to properly filter out parents when there is a a missing gap in the parent tree by @ddworken in #377
- Add Woodpecker CI to no-color default autodetection by @xoxys in #379
- Fix append bug in --rerun-fails with -run flag by @dnephin in #382
- Add gofiber/fiber to list of projects by @gaby in #389
- Updates to dependencies and GitHub workflows by @gaby in #390
New Contributors
- @smoynes made their first contribution in #371
- @szaydel made their first contribution in #373
- @lieut-data made their first contribution in #378
- @ddworken made their first contribution in #377
- @xoxys made their first contribution in #379
- @gaby made their first contribution in #389
Full Changelog: v1.11.0...v1.12.0
v1.11.0
What's Changed
- handle multiple levels in subtest regex generation by @brycekahle in #342
- rerun-fails: prevent extra runs when a sub-test fails by @brycekahle in #343
- Add note about binary test result caching by @nfi-hashicorp in #350
- dots-v2: hide cursor during output by @howardjohn in #354
- Export elapsed time to the post-run environment by @afbjorklund in #360
- Include test.timeout stack trace in the junit.xml by @dnephin in #357
- Fix dots formats with stderr by @dnephin in #358
- Rename TESTS_ELAPSED environment variable by @afbjorklund in #361
- GitHub actions format by @dnephin in #315
- Add the time unit to elapsed time duration by @afbjorklund in #363
- Add testdox format by @bitfield in #359
- Add post-run-command notify implementation for linux by @afbjorklund in #362
- dotsv2: remove jitters entirely by @howardjohn in #368
New Contributors
- @brycekahle made their first contribution in #342
- @nfi-hashicorp made their first contribution in #350
- @howardjohn made their first contribution in #354
- @afbjorklund made their first contribution in #360
- @bitfield made their first contribution in #359
Full Changelog: v1.10.1...v1.11.0
v1.10.1
What's Changed
- Add list of projects that use gotestsum to the README by @dnephin in #319
- ci: update goreleaser 1.7.0 to 1.17.0 for windows/arm64 by @suzuki-shunsuke in #324
- Fix coverage detection for go1.20 by @dnephin in #325
- Add support for zOS by @v1gnesh in #334
- Detect CI environments for default
no-color
value by @silverwind in #330 - Quote test names before they are used within the regex to rerun by @noBlubb in #338
- Update links to other projects by @dnephin in #321
- Don't treat debug messages as errors by @Pawka in #336
New Contributors
- @suzuki-shunsuke made their first contribution in #324
- @v1gnesh made their first contribution in #334
- @silverwind made their first contribution in #330
- @noBlubb made their first contribution in #338
Full Changelog: v1.10.0...v1.10.1
v1.10.0
What's Changed
- Use go 1.20 in CI by @dnephin in #304
- Fix need to save twice to trigger watch on OSX using Neovim by @andersjanmyr in #300
- Add standard-json format by @Pawka in #313
- Ensure jsonfile is flushed before running post-run-command by @dnephin in #305
- Add jsonfile-timing-events flag for capturing only the timing events in a file by @dnephin in #306
- Use io.Writer in formatters by @dnephin in #317
- ci-matrix: improve description by @dnephin in #307
- slowest: Add num flag for limiting the number of slow tests to print by @dnephin in #318
New Contributors
- @andersjanmyr made their first contribution in #300
- @Pawka made their first contribution in #313
Full Changelog: v1.9.0...v1.10.0
v1.9.0
What's Changed
- readme: better feature description by @dnephin in #271
- Add a flag for running the entire root test case when any of its subtests fail by @dnephin in #275
- consolidate cmd routing into main by @dnephin in #272
- Error if
-failfast
is used with--rerun-fails
by @dnephin in #280 - Added go-recipes badge by @nikolaydubina in #286
- Hide empty packages in compact formats by @dnephin in #283
- Add tool ci-matrix by @dnephin in #258
- Hide empty packages on junit output by @flowchartsman in #288
- feat(freebsd): generate arm/amd64 binaries for FreeBSD by @ghuntley in #291
- Update README.md by @dnephin in #297
- Add --watch-chdir flag by @dnephin in #276
- Add option to use high-visibility icons by @n-oden in #293
- Print the test timeout panic as package output by @dnephin in #298
New Contributors
- @nikolaydubina made their first contribution in #286
- @flowchartsman made their first contribution in #288
- @ghuntley made their first contribution in #291
- @n-oden made their first contribution in #293
Full Changelog: v1.8.2...v1.9.0
v1.8.2
What's Changed
- Show shuffle seed by @dnephin in #256
- Update tests, and cleanup formats by @dnephin in #262
- Remove one dependency, update the rest by @dnephin in #263
- Test against go1.19, remove go1.15 by @dnephin in #269
- Add project name to junit.xml output by @nikolaigut in #261
- Adding in support for s390x and ppc64le by @james-crowley in #270
New Contributors
- @nikolaigut made their first contribution in #261
- @james-crowley made their first contribution in #270
Full Changelog: v1.8.1...v1.8.2
v1.8.1
Changelog
- e209ec9 Merge pull request #249 from dnephin/add-update-flag
- 849289b Add to readme
- 57ba68e Add some tests for watch events
- 14592d7 watch: add u key for updates
- f1fdcbd Merge pull request #246 from dnephin/warn-watch-and-paths
- ddb4125 Document --watch with extra package paths
- 938480e Merge pull request #245 from dnephin/aix
- 6b46741 Fix the build on aix
v1.8.0
Changelog
- 69fcbcb Merge pull request #243 from dnephin/enable-color-on-github-actions
- 9e8433c Enable color by default when run from github actions
- a8b4e27 Merge pull request #242 from gotestyourself/docs-post-run
- 4cc96fb Improve the docs for --post-run-command
- cc0c1a1 Merge pull request #234 from uhthomas/exec-stdin
- ac4bc6f Improve the test for input from stdin
- ce158b4 Pass stdin to go test
- 0fa88f3 Merge pull request #241 from gotestyourself/mkdir-path
- d93af71 create any missing directories for {json,junit}file
- 528a3fd Merge pull request #235 from ashanbrown/asb/ignore-warnings
- bba51ac Fix e2e test failure
- 90a5a10 Ensure we still rerun tests when there are warnings
- d9cd222 Merge pull request #237 from gotestyourself/ci-go1.18
- 99a7f30 fix goreleaser
- afec7a6 ci: go1.18
- 661b091 Merge pull request #226 from g-gaston/compile-test2json-without-go
- 42e50c2 Add instructions to compile test2json without the need of a local go installation
- 08a7689 Merge pull request #224 from greut/fix/golangci-lint
- 2a49979 fix: remove deprecated linters from golanci-lint
- 87d6387 Merge pull request #223 from dmitris/patch-1
- 98a1847 update 'go get' idirective to 'go install'
- e5de87c Merge pull request #216 from dnephin/pkg-elapsed
- b08915a Merge pull request #215 from dnephin/windows-color
- 5ec6ef6 Update tests for package elapsed time change.
- ed34d9a testjson: use event elapsed time for package elapsed
- 7cadea0 Fix color output on windows
- c5a73e1 log: use color.Error in log
- c728c6c Merge pull request #211 from dnephin/version-cmd
- c0fbc60 Merge pull request #212 from dnephin/go1.17
- c4e2ac6 ci: add go1.17, remove go1.13
- ff8f987 README: add version when feature was introduced.
- de90737 Add 'help' and '?' commands
- 37116ff Merge pull request #210 from johnrichardrinehart/fix/detect-death-by-sigint
- 643063a cmd: update signal handling
- 232870c fix(cmd/main.go): add a channel to proc{} for detecting SIGINT
v1.7.0
Changelog
1a94380 Merge pull request #204 from MichaelScheetz-HPE/patch-1
b779ab6 remove x/crypto
718c2f9 Fix cve-2020-29652
012a85e Merge pull request #201 from cpuguy83/add_suite_timestamp
f2b0a2e Use zero timestamp for tests and update golden
31cc95b junit: Add timestamp for suite start time
bdcb1a9 Merge pull request #199 from dnephin/add-profile-script-to-docs
87cb6b0 Add example of running with cpuprofile enabled
fb92894 Merge pull request #198 from dnephin/reload-paths
cba7ff6 internal/filewatcher: rename some types and methods
cdd0de1 Add 'l' action for watch mode
99b2618 Merge pull request #197 from dprotaso/watching-run-all
a17a4b3 move condition to reduce complexity of Watch
77279f7 enable running all tests when watching by pressing 'a'
ecb7c69 Merge pull request #194 from dagood/ignorenonjson
4710cc6 small improvement to TestScanOutput_WithNonJSONLines
226f339 Apply suggestions; add test case for non-JSON line
5707a34 Apply suggestions from code review
cee4211 Add --ignore-non-json-output-lines option
v1.6.4
Changelog
bb9679f Merge pull request #191 from dnephin/handle-missing-subtest-pass-event
9ad60eb Merge pull request #192 from dnephin/no-rerun-on-panic
80568f3 Avoid rerun of fialed tests when previous run had a panic
5c6169b Merge pull request #185 from dnephin/fix-no-tests-run-run
68539ea format: handle 'testing: warning: no tests to run' event
e91cbd9 Mitigate gotest bug with missing end events
50d8cb4 Merge pull request #190 from dnephin/print-coverpkg-output
411f958 Fix capturing of coverpkg output