Commit Graph

22 Commits (cb93366d0e97bfbc0a675dfac28e3d3051b1fa50)

Author SHA1 Message Date
Eric Freese 468b7403e9 Test should be passing block to RSpec wait_for
Fixes flaky test
8 years ago
Eric Freese c9a51e0c4c Handle dashes at the beginning of commands 8 years ago
Eric Freese 2cd99e64b7 Add a test for modifying widget list vars after sourcing plugin 8 years ago
Eric Freese c70d685d15 Clean up widget list spec 8 years ago
Eric Freese 255359dbb8 Use `+=` to be a bit more true to the spec language 8 years ago
Eric Freese 938144530c Fix tests 8 years ago
Eric Freese c4bfd8e2c6 Need to prevent zpty feature detection from HUPing existing zptys 8 years ago
Eric Freese c959408305 Only wait a max of 2 seconds for content to match after clearing screen 8 years ago
Eric Freese ed8056c5e8 Lots of async changes 8 years ago
Eric Freese 64e7ec5bf8 Rename internal term session method 8 years ago
Eric Freese 98f926d53d Clean up TerminalSession constructor a bit 8 years ago
Eric Freese 51e8755634 TerminalSession methods return self to support chaining 8 years ago
Eric Freese 5151adfe40 Make TerminalSession#clear block until the screen is cleared 8 years ago
Eric Freese c3425870f1 Wait for the terminal.clear to go through before continuing
Prevents some flakiness in tests
8 years ago
Eric Freese 89dd69d517 Add pry gem for debugging support 8 years ago
Eric Freese 2dbd261989 Allow configuring of zsh binary to run integration tests against 8 years ago
Eric Freese 0305908adf Revert `fc` usage in calculating suggestion
As far as I know, `fc` makes it impossible to tell whether history items
used an actual newline character or the string "\n". Pulling from the
`$history` array gives a more accurate representation of the actual
command that was run.
8 years ago
Eric Freese 8e06a54b1c Add test for string with "\n" in it 8 years ago
Eric Freese debbffc79a Add rspec test around accepting suggestions 9 years ago
Eric Freese c22ab0e399 Implement suggestion integration tests in RSpec + tmux 9 years ago
Eric Freese 07a6768fcb Add TerminalSession helper for managing a tmux session 9 years ago
Eric Freese e6591d5de0 Add RSpec for high-level integration testing 9 years ago