Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add list of cases for manual testing #39

Open
slingamn opened this issue Dec 3, 2023 · 4 comments
Open

add list of cases for manual testing #39

slingamn opened this issue Dec 3, 2023 · 4 comments

Comments

@slingamn
Copy link
Member

slingamn commented Dec 3, 2023

We've accumulated a lot of cases that are likely to break:

  1. Async output (use the async command in readline-demo)
  2. History search done redraw issue #38
  3. (Windows special cases?)
@slingamn
Copy link
Member Author

slingamn commented Dec 3, 2023

In my first draft of #38 I apparently failed to test basic line editing functionality (moving backwards in the line, editing it, and having the buffer redraw correctly) :-|

@slingamn slingamn mentioned this issue Dec 3, 2023
@slingamn
Copy link
Member Author

slingamn commented Dec 3, 2023

Text on the same line as the prompt should not be erased.

@wader
Copy link
Collaborator

wader commented Dec 3, 2023

I wonder what options there are to automate these kind of tests. I use a little bit of expect for testing some basic REPL stuff for fq but it has turned out quite hard to make the tests stable. Think i did look a bit at using https://github.com/charmbracelet/vhs but don't remember why i gave up on it. But those kind of tests wont really help testing for different platforms :(

@slingamn
Copy link
Member Author

slingamn commented Jul 4, 2024

Alt-Arrow cases as in #59

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants