Support automated UX testing#847
Support automated UX testing#847yizhepku wants to merge 10 commits intonushell:mainfrom yizhepku:automate-ux-testing
Conversation
CI tends to run tests in unpredictable PWD.
|
What is your plan for the |
I think Reedline can just pin to a specific commit, like this PR is currently doing. PTY-related tests can be flaky, so I think that's the best way to ensure things don't break randomly. I made |
It's useful, but probably doesn't belong to this PR.
…to automate-ux-testing
This PR adds support for automated UX testing using a terminal emulator. It implements most of the checkboxes in
UX_TESTING.mdas automated tests.This is a reworked and improved version of my previous PR on automated UX tests. I've made a new crate
alacritty-testcontaining the tools. The new implementation usespollingto read from PTYs efficiently and reliably. If everything works out, we can adopt this in Nushell as well.