v1.6.1
Changes
- Add
--max-fails
flag to stop a test run after some number of failures - Properly reset the terminal when
--watch
exits - Add key shortcuts for
--watch
mode, to re-run the last test, and re-run withdelve
debugger - Properly close file handles used to create the list of directories for
--watch
, to prevent error on too many open file descriptors
Changelog
6d0e310 Merge pull request #174 from dnephin/wrap-errors-in-watch
20fb1ea Wrap a couple errors from filewatcher
22e9314 Merge pull request #173 from docwhat/pr/close-watch
e4c20b8 Don't sync read-only file handle
aed3bd5 ensure filehandles are closed
3c47e87 Merge pull request #169 from dnephin/ci-go-1.16
7414759 ci: add go1.16
4fc8ab6 Add watch debug mode to README
9c36896 Merge pull request #168 from dnephin/slowest-skip-subtests
fc388e3 slowest: skip root tests when subtests are slow
fcc882a Merge pull request #165 from dnephin/watch-debug-delve
e6cd46c Merge pull request #166 from dnephin/testcases_example
7b1a76c watch: set breakpoint on test function when debugging
d1d4c68 Try out a new pattern for large table tests
f3e8321 watch: move lastPath storage to handler
3ab60fc watch: Add support for debugging while watching
a6916e7 watch: make space for debug flag
2062ac3 Merge pull request #164 from dnephin/update-go-version-windows
d6ba8ba ci: try updating go version
76b46f9 Merge pull request #163 from dnephin/reset-term-on-idle-timeout
98ce04d watch: properly reset terminal after idle timeout
3a094ca Merge pull request #161 from dnephin/time-and-aggregate
273e0b2 internal/aggregate: extract some functions from cmd/tool/slowest
af85a09 Add TestCase.Time
700bc79 Merge pull request #159 from dnephin/max-fails
a0ef4c9 Merge pull request #160 from dnephin/watch-retest
c41d054 Add rerun for --watch mode
7e74fa1 Test that execution stops if ScanTestOutput errors
876c2f5 End a run when ScanTestOutput fails
3d0c6fa Add --max-fails flag
b081783 Merge pull request #158 from dnephin/add-main-branch-sync
7ccf086 Add github action to sync main