30 Commits

Author SHA1 Message Date
43a65066ee Move sharding functions to testutils and add some comments 2024-02-10 23:07:52 -08:00
8e7b078f03 Add more comprehensive support for test sharding 2024-02-10 16:45:02 -08:00
d646939c00 Add rudimentary experiment of splitting tests into two chunks to make them faster 2024-02-09 19:17:23 -08:00
a58c426ad3 Improve test to make the golden clearer about what is being tested 2023-12-21 17:43:26 -08:00
18ef74656c Add presaving test for fish 2023-11-24 16:46:22 -08:00
7bb2945901 Swap back to using the strict version for capturing tmux 2023-11-24 16:46:22 -08:00
570ae3e8ac Add additional check against hishtory export to help debug control-r test failures that only reproduce in github actions 2023-11-24 16:46:22 -08:00
db685c6d70 More test fixes for presaving 2023-11-24 16:46:22 -08:00
3a98b10e47 Add comment 2023-11-22 20:48:23 -08:00
a8f47cf340 Fix testTui/ai test and add golden file for it 2023-11-12 02:57:23 -08:00
e712d77f62 Add more guarding against panics when doing indexing into split strings 2023-11-12 02:57:23 -08:00
37e0e6653d Remove unnecessary field 2023-11-12 02:57:23 -08:00
c4b60eb6b2 Clean up tests to make panics not happen for TUI test failures by moving repeated code line to a function at also adds a require 2023-11-12 02:57:23 -08:00
3df099c945 Fix AI test by quoting the sent keys to ensure zsh doesn't complain about the question mark 2023-11-12 02:57:23 -08:00
27eeb7d099 Refactor code to strip out the shell prefix to a separate function 2023-10-23 12:24:43 -07:00
595ddec235 Add integration to report flaky tests to datadog 2023-10-21 16:28:28 -07:00
df9c6e8786 Swap to using gotestsum for retrying flaky tests 2023-10-21 15:41:32 -07:00
08e734a1fe Add tests to verify the fix for #117 2023-10-21 09:00:06 -07:00
fca2b1441f Always include user and device ID in API request headers, so that they're available in all server-side handlers 2023-10-14 10:52:51 -07:00
33f09ea030 Fix testPresaving/bash by calling SetSid to prevent SIGTTIN signal from killing the test 2023-09-29 21:38:50 -07:00
0b57034c39 Revert "Revert all commits since v0.223 to enable me to release a patch on top of v0.223"
This reverts commit 68ed9f2d5d.
2023-09-29 18:21:23 -07:00
68ed9f2d5d Revert all commits since v0.223 to enable me to release a patch on top of v0.223 2023-09-28 22:15:30 -07:00
2e5f345411 Refactor tmux capturing to take in a struct to avoid having to create so many overloaded functions 2023-09-28 22:14:41 -07:00
b482a6d6ec Add very basic TUI test that also tests how the TUI uses escape sequences for colors 2023-09-28 22:14:05 -07:00
9fda54d4c2 Remove testutils.Check(t, err) and replace it with require.NoError which gives a clearer error message and a full stacktrace 2023-09-28 22:13:27 -07:00
6d5a86a8bb Revert all commits since v0.223 to enable me to release a patch on top of v0.223 2023-09-28 21:49:37 -07:00
64db341144 Refactor tmux capturing to take in a struct to avoid having to create so many overloaded functions 2023-09-24 18:28:06 -07:00
b3fa5c9a6b Add very basic TUI test that also tests how the TUI uses escape sequences for colors 2023-09-24 17:03:54 -07:00
5121df5a8c Remove testutils.Check(t, err) and replace it with require.NoError which gives a clearer error message and a full stacktrace 2023-09-24 16:05:01 -07:00
d613c22e50 Move a bunch of utility functions for tests to a testutils.go file to make client_test.go at least a little shorter 2023-09-22 20:19:12 -07:00