Skip to content

v0.5.0

Compare
Choose a tag to compare
@dnephin dnephin released this 17 Jun 03:33
b2e1ee6

New Features

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