Releases: gotestyourself/gotestsum
v0.5.2
Changes
--rerun-failsnow reruns only the failed subtest (instead of the entire root test), by running each test individually instead of the failed tests in a package.- fixed a bug with
--rerun-failsreporting, where any incomplete tests from the first run were reported to have been run and fail on each rerun.
Changelog
e2b19e1 Merge pull request #135 from dnephin/rerun-fails-only-subtests
a18b697 Update golden for new go1.14.6 output format
a4b69e7 Clear out running tests from each pkg
22714a3 Merge pull request #137 from SemanticallyNull/master
f9e3d29 build arm64 binaries
6c2d74f rerun-fails: Only rerun failed subtests
8979f92 fix tool/slowest examples
v0.5.1
Changelog
14268d4 Merge pull request #134 from dnephin/rerun-summary
be1a9c8 Add reun-fails-report
9a2c7b4 Merge pull request #133 from dnephin/remove-pause-cont-from-summary-output
07020ae Merge pull request #132 from dnephin/improve-rerun
d704604 Remove PAUSE and CONT lines from summary output
a78bf96 Include run count in DONe line
83c209d Add RunID to testname format, and summary
1263c8c Refactor pkgPath+testname formatting for testname format
a256bea Rename format functions
18ce2af Exit rerun if exit status > 1
v0.5.0
New Features
- Post run command - may be used for desktop notification
- Re-running failed tests - to save time when dealing with flaky test suites
- Finding and skipping slow tests - using
gotestsum tool slowest
Bug fixes
- when the same test case appears multiple times in the input (possibly because of
-count=n) the output of each will be preserved. Previously only the last test case output was saved. - fixed a bug where the output of a skipped sub-test would be lost
Changelog
b2e1ee6 Merge pull request #117 from dnephin/0.5-docs
e8b4148 readme: add docs for features new in version 0.5
e55d7aa Merge pull request #129 from gotestyourself/rerun-fails
f93909c Add test to cover rerun with errors
bb6a8a5 rerun: add done line, and only warn on exit !{0,1}
e8026de check goTestExitErr before rerun
ccefcdd Cancel re-run if there are any errors.
3381e15 Fix packages flag
dcc31b5 Merge pull request #126 from dnephin/rerun-fails
96d3338 Fix -run flag building to not prefix match
5cc60e2 Add an e2e test for rerun-fails
8440739 Improve rerun flags
d1c4fe0 cmd: Add tests for usage text
935c88f Return artificial events to Handler for missing events
6c51314 Add rerun-fails feature
41d5687 Merge pull request #125 from dnephin/bug-repeated-test-case-output
9252745 Remove hasSubTestSkipped
dff8591 Fix test failures caused by adding a new field to Package
c6c06f8 Use an ID to index TestCase output
02c7a08 Test for repeated output
157775e Merge pull request #123 from dnephin/bug-missing-skip-msg
271af14 Merge pull request #122 from dnephin/remove-test-flag-special
c983e4c summary: Fixed missing skip message bug
1aea7ad Update pflag to remove the -test.x flag dropping
6e7e5ad Merge pull request #121 from dnephin/small-improvements-to-slowest
e8f847b cmd/tool/slowest: Improve help text
427c049 Merge pull request #120 from dnephin/small-improvements-to-slowest
9b2aef1 Better docs for testjson package
0a6ff94 Merge pull request #76 from dnephin/add-post-run-command
8be9d46 Add a sample post-hook-command for osx notifications
fdfcf36 Change post-run-hook to use string command
8c90dec Add post-run-command hook
bbd252b Merge pull request #115 from thaJeztah/replace_more_syscall
145a546 Use golang.org/x/sys/windows.GetConsoleScreenBufferInfo
eae3dbf Merge pull request #112 from thaJeztah/detect_terminal
f722162 Update github.com/fatih/color to latest
aa182bc Windows: use golang.org/x/sys to detect Terminal
04af7e1 Merge pull request #114 from thaJeztah/bump_pkg_errors
d8d6815 update pkg/errors to v0.9.1
1b26a76 Merge pull request #113 from dnephin/do-improvements
daa669f do: use GOLANG_VERSION arg
2ddfdd2 Merge pull request #111 from dnephin/use-plsdo
454e0db Replace dobi with plsdo
729c5b2 Merge pull request #107 from dnephin/mark-slowest-tests
e9510d9 cmd/tools/slowest: Support build tags
9a46ae9 Fix linter issues
471a59a Don't attempt to format a non-format string
7a39237 Aggregate elapsed time when there are multiple runs
afef6d5 Add a preset for testing.Short
82aae80 Handle tests in external test packages
d8df6c0 Remove subtests from the list to skip
157af96 cmd/tool/slowest: add jsonfile flag
ddc609f cmd/tool/slowest: AST rewrite for slowest tests
2cc4019 cmd/tool/slowest: Add a skeleton for a new command
ab93a78 Merge pull request #110 from dnephin/remove-logrus-dep
6cbcac1 Remove logrus dependency
fe46a0a Merge pull request #108 from wfscheper/pre-commit-hook-config
d6f4eb9 Add a pre-commit hook configuration
6878800 Merge pull request #106 from dnephin/tests-can-have-more-than-2-framing-events
8ee9a8b Change label for incomplete tests
9b766e9 Tests can have more than 2 framing lines
v0.4.2
This release attempts to work around a bug in test2json and handle a change in test2json behaviour introduced in go1.14.
Changelog
32e482f Merge pull request #102 from dnephin/print-missing-output
cacb835 summary: mitigate test2json bug causing missing test output
2403f71 summary: only filter out framing messages that match the test name
1233c41 store test output by rootTestName->subTestNames->output
08303fe Merge pull request #104 from dnephin/fix-missing-output-on-panic
db873a2 Print incomplete tests as failures
f25c369 Merge pull request #103 from dnephin/linter-whitelist
1dfd4a8 Use an explicit list of linters
0f3ab42 Merge pull request #98 from dnephin/update-docs
7abd97c Add -t flag to test2json examples
b348b74 Merge pull request #91 from dnephin/go1.14
79cca92 Remove go1.10 from CI and remove Gopkg files
16cca0b Add go1.14 to CI
938d36e Update to gotest.tools/v3
b9c9035 Merge pull request #89 from dnephin/restore-original-dots-format
85ca9e9 windows golden
183b435 Restore old format for dots
9a4b2e3 Re-add the original dots format
v0.4.1
v0.4.0
Changelog
06322b4 Merge pull request #75 from dnephin/windows-ci
0b91335 Merge pull request #73 from dnephin/format-verbose-errors
7e52773 Add a windows CI job
168b49e Add short-with-failures to help
30a7d17 Add short-with-failure format
782abf2 Merge pull request #70 from dnephin/junit-name-formats
1bfd481 Document new junit format flags
63d81f1 Add flags for formatting junit field names
ac42209 Add a config for formatting junit xml
0059e51 Merge pull request #71 from dnephin/test-go1.13
42ccdd9 Test go1.13
88641c2 Merge pull request #67 from dnephin/copyright
a616c57 Add a copyright NOTICE
fc6cb58 Merge pull request #61 from nhooyr/better-short-verbose
31514b3 Merge pull request #63 from ebilling/master
e3accd4 always colorize output unless specifically requested not to
aaabbb3 Improve short-verbose output for tests in CWD
9ed80b5 Merge pull request #59 from dnephin/report-cache-usage
9fd1128 Report if a package was cached in short formats
v0.3.5
Changelog
1796188 Merge pull request #57 from dnephin/coverage-in-short-format
4445661 Add tests for running with -cover
48f45d7 Small refactor to reduce cyclomatic complexity
1d5430f Identify and, filter or display coverage output
6b99016 Merge pull request #52 from glenjamin/version-flag
baa0410 Attempt at making the section about go test flags more obvious
66227f6 Add a --version flag that goreleaser will populate for us
v0.3.4
Changelog
4caef0e Merge pull request #48 from dnephin/use-orbs
c800bc8 Merge pull request #49 from lokst/use_full_classname
eb29bee output the full classname in the classname attribute of testcase elements
2259c56 update dev tools
0ebdcf9 Change to golangci-lint
1b86808 Use orbs in CI config
bf49092 go mod tidy
308fb9a Merge pull request #44 from dnephin/fix-use-of-iota
c96a20a Rename printer.go to format.go
f5b37d0 Fix summary iota
v0.3.3
Changelog
cec68c0 Merge pull request #43 from dnephin/go1.12
e458a7a Test with go1.12rc1
8760d08 Merge pull request #42 from dnephin/fix-junit-time-unit
882c710 Remove s suffix from junitxml times
3a0e92b Merge pull request #40 from gotestyourself/readme-fix
257abc0 Some README updates
90bf791 Merge pull request #38 from dnephin/relative-path-with-go-mod
74f49ec Add more go module stderr lines to the whitelist
a9981c9 Merge pull request #36 from dnephin/relative-path-with-go-mod
ec29767 Support relative pkg paths with go modules
795813a Merge pull request #35 from dnephin/flag-val-for-no-summarize
ff250ac Add flag value for noSummary flag
dc92d87 Merge pull request #34 from dnephin/add-no-output-value-for-summary
c621fb5 Use go version as reported by the binary
23f01ef Merge pull request #32 from dnephin/add-no-output-value-for-summary
2867c70 Add output value as an option for summary flag
3bf723a Skip git validation in release
v0.3.2
Changelog
ad9c8f4 Merge pull request #29 from dnephin/pr-fix-go-module-output
3652484 Add another go module prefix to the list
a449359 Add go module files
98c46dc refactor to use an errGroup for the two streams
b64d455 Fix order of operations in readStderr
625b21f bugfix - ignore go module stdErr messages
fc6f8e9 Merge pull request #26 from dnephin/test-go1.11
9dc8d56 Test go 1.11