hishtory/client/testdata
David Dworken b27fde71c9
Run integration tests in parallel to speed up testing (#175)
* Remove a few direct DB insertions to prepare for parallel tests

* Revert "Remove a few direct DB insertions to prepare for parallel tests"

This reverts commit f8a3552ad8.

* Add rudimentary experiment of splitting tests into two chunks to make them faster

* Add missing tag

* Remove code that enforces that all goldens are used, since it is incompatible with how tests are currently split into chunks

* Lay out the framework for checking goldens being used across all test runs

* Fix missing brace

* Revert "Remove code that enforces that all goldens are used, since it is incompatible with how tests are currently split into chunks"

This reverts commit 06cc3eedbc.

* Add initial work towards checking that all goldens are used

* Delete incorrect and unreferenced matrix

* Upgrade actions/upload-artifact to see if that makes the download in the next job work

* Alternatively, try downloading the artifact by name

* Update golden checker to read all the golden artifacts

* Swap to using glob to enumerate all golden files, rather than hardcoding them

* Remove debugging commands

* Remove goldens that are actually used

* Remove another golden that is actually used

* Add more comprehensive support for test sharding

* Fix references to test shards and increase shard count

* Shard the fuzz test

* Add debug prints

* Mark additional tests for sharding

* Fix logic error that broke test sharding

* Remove debug print

* Fix incorrect logic with skipping the fuzz test

* Move sharding functions to testutils and add some comments

* Upgrade all setup-go actions to enable caching of deps

* Remove goldens that don't exist

* Remove new line

* Reduce delay

* Correct stage name

* Remove incorrect skip code from the first version of sharding

* Remove unused import

* Reduce number of test shards to match GitHub's limit of 5 concurrent macos jobs

* Use cask for installing homebrew to speed up github actions

* More cleanup for unused goldens
2024-02-11 11:54:27 -08:00
..
testControlR-AdvancedSearch Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testControlR-bash-Disabled-darwin Invert condition so that a bunch of golden tests only run on actions, since that is now our primary testing environment (#159) 2023-12-29 07:31:56 -08:00
testControlR-bash-Disabled-linux Invert condition so that a bunch of golden tests only run on actions, since that is now our primary testing environment (#159) 2023-12-29 07:31:56 -08:00
testControlR-ControlC-bash-darwin Invert condition so that a bunch of golden tests only run on actions, since that is now our primary testing environment (#159) 2023-12-29 07:31:56 -08:00
testControlR-ControlC-bash-linux Invert condition so that a bunch of golden tests only run on actions, since that is now our primary testing environment (#159) 2023-12-29 07:31:56 -08:00
testControlR-ControlC-zsh-darwin Invert condition so that a bunch of golden tests only run on actions, since that is now our primary testing environment (#159) 2023-12-29 07:31:56 -08:00
testControlR-ControlC-zsh-linux Invert condition so that a bunch of golden tests only run on actions, since that is now our primary testing environment (#159) 2023-12-29 07:31:56 -08:00
testControlR-customColumn Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testControlR-displayedColumns Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testControlR-DisplayMultiline-bash Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testControlR-DisplayMultiline-fish Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testControlR-DisplayMultiline-zsh Fix handling of new lines in commands for #163 (#170) 2024-02-06 20:04:21 -08:00
testControlR-Final Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testControlR-Initial Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testControlR-InitialExport Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testControlR-InitialSearch Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testControlR-InitialSearchExpanded Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testControlR-InitialSearchNoResults Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testControlR-InitialSearchNoResultsThenFoundResults Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testControlR-Search Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testControlR-SelectMultiline-bash-darwin Invert condition so that a bunch of golden tests only run on actions, since that is now our primary testing environment (#159) 2023-12-29 07:31:56 -08:00
testControlR-SelectMultiline-bash-linux Invert condition so that a bunch of golden tests only run on actions, since that is now our primary testing environment (#159) 2023-12-29 07:31:56 -08:00
testControlR-SelectMultiline-zsh-darwin Invert condition so that a bunch of golden tests only run on actions, since that is now our primary testing environment (#159) 2023-12-29 07:31:56 -08:00
testControlR-SelectMultiline-zsh-linux Invert condition so that a bunch of golden tests only run on actions, since that is now our primary testing environment (#159) 2023-12-29 07:31:56 -08:00
testControlR-zsh-Disabled-darwin Invert condition so that a bunch of golden tests only run on actions, since that is now our primary testing environment (#159) 2023-12-29 07:31:56 -08:00
testControlR-zsh-Disabled-linux Invert condition so that a bunch of golden tests only run on actions, since that is now our primary testing environment (#159) 2023-12-29 07:31:56 -08:00
testCustomColumns-initHistory Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testCustomColumns-query-isAction=false Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testCustomColumns-query-isAction=true Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testCustomColumns-tquery-bash Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testCustomColumns-tquery-bash-isAction Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testCustomColumns-tquery-zsh Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testCustomColumns-tquery-zsh-isAction Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testDisplayTable-customColumns Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testDisplayTable-customColumns-2 Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testDisplayTable-customColumns-3 Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testDisplayTable-customColumns-multiLineCommand Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testDisplayTable-customColumns-trulyCustom Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testDisplayTable-defaultColumns Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
TestFish-table Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
TestImportHistory-export Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testIntegrationWithNewDevice-bash Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testIntegrationWithNewDevice-tablebash Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testIntegrationWithNewDevice-tablezsh Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testIntegrationWithNewDevice-zsh Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testPresaving-query Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testPresavingOffline-query-missing Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testPresavingOffline-query-present Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testRemoveDuplicateRows-enabled-export Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testRemoveDuplicateRows-enabled-query Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testRemoveDuplicateRows-enabled-tquery Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testRemoveDuplicateRows-export Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testRemoveDuplicateRows-query Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testRemoveDuplicateRows-tquery Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
TestSortByConsistentTimezone-export Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
TestSortByConsistentTimezone-query Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testTabCompletion-suggestions-fish Add back goldens for tab completion that were accidentally removed in an earlier merge conflict resolution 2023-12-21 17:37:44 -08:00
testTabCompletion-suggestions-zsh Add back goldens for tab completion that were accidentally removed in an earlier merge conflict resolution 2023-12-21 17:37:44 -08:00
TestTimestampFormat-query Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
TestTimestampFormat-tquery Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
TestTui-AiQuery Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
TestTui-AiQuery-Disabled Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
TestTui-ColoredOutput Add ability to configure a default filter (for #76) (#161) 2024-01-07 21:06:22 -08:00
TestTui-ColoredOutputWithCustomColorScheme Add ability to configure a default filter (for #76) (#161) 2024-01-07 21:06:22 -08:00
TestTui-ColoredOutputWithDefaultFilter Add ability to configure a default filter (for #76) (#161) 2024-01-07 21:06:22 -08:00
TestTui-ColoredOutputWithSearch Add ability to configure a default filter (for #76) (#161) 2024-01-07 21:06:22 -08:00
TestTui-ColoredOutputWithSearch-Highlight Add ability to configure a default filter (for #76) (#161) 2024-01-07 21:06:22 -08:00
TestTui-DefaultColorScheme Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
TestTui-DefaultFilter-Deleted Add ability to configure a default filter (for #76) (#161) 2024-01-07 21:06:22 -08:00
TestTui-DefaultFilter-DeletedWithText Add ability to configure a default filter (for #76) (#161) 2024-01-07 21:06:22 -08:00
TestTui-DefaultFilter-Enabled Add ability to configure a default filter (for #76) (#161) 2024-01-07 21:06:22 -08:00
TestTui-DefaultFilter-EnabledAdditionalQuery Add ability to configure a default filter (for #76) (#161) 2024-01-07 21:06:22 -08:00
TestTui-Delete Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
TestTui-DeleteAgain Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
TestTui-DeleteAgainStill Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
TestTui-DeleteStill Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
TestTui-Exit-darwin Invert condition so that a bunch of golden tests only run on actions, since that is now our primary testing environment (#159) 2023-12-29 07:31:56 -08:00
TestTui-Exit-linux Invert condition so that a bunch of golden tests only run on actions, since that is now our primary testing environment (#159) 2023-12-29 07:31:56 -08:00
TestTui-ExportWithAdditionalEntries Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
TestTui-ExportWithEvenMoreEntries Add support for quotes around colons when searching (#162) 2024-01-07 18:56:30 -08:00
TestTui-HelpPage Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
TestTui-HelpPageClosed Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
TestTui-Initial Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
TestTui-InitialInvalidSearch Improve test to make the golden clearer about what is being tested 2023-12-21 17:43:26 -08:00
TestTui-InvalidSearch Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
TestTui-InvalidSearchBecomesValid Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
TestTui-LeftScroll Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
TestTui-LongQuery Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
TestTui-Offline Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
TestTui-OfflineInvalid Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
TestTui-Resize Revert "Update goldens for ubuntu" 2023-12-23 17:20:54 -08:00
TestTui-RightScroll Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
TestTui-RightScrollTwo Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
TestTui-Search Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
TestTui-SearchBackslash Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
TestTui-SearchColonDoubleQuoted Add support for quotes around colons when searching (#162) 2024-01-07 18:56:30 -08:00
TestTui-SearchColonError Add support for quotes around colons when searching (#162) 2024-01-07 18:56:30 -08:00
TestTui-SearchColonEscaped Add support for quotes around colons when searching (#162) 2024-01-07 18:56:30 -08:00
TestTui-SearchQuoted Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
TestTui-SearchUnquoted Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
TestTui-SelectAndCd Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
TestTui-SmallTerminal Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
TestTui-TiniestTerminal Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
TestTui-TinyTerminal Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
TestTui-TinyTerminalHelp Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testUninstall-post-uninstall Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testUninstall-post-uninstall-bash-darwin Invert condition so that a bunch of golden tests only run on actions, since that is now our primary testing environment (#159) 2023-12-29 07:31:56 -08:00
testUninstall-post-uninstall-bash-linux Invert condition so that a bunch of golden tests only run on actions, since that is now our primary testing environment (#159) 2023-12-29 07:31:56 -08:00
testUninstall-post-uninstall-zsh-darwin Invert condition so that a bunch of golden tests only run on actions, since that is now our primary testing environment (#159) 2023-12-29 07:31:56 -08:00
testUninstall-post-uninstall-zsh-linux Invert condition so that a bunch of golden tests only run on actions, since that is now our primary testing environment (#159) 2023-12-29 07:31:56 -08:00
testUninstall-recorded Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
testUninstall-uninstall Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
unittestTable-truncatedTable Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
unittestTable-truncatedTable-right1 Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
unittestTable-truncatedTable-right2 Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00
unittestTable-truncatedTable-right3 Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154) 2023-12-21 17:06:46 -08:00