You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd love to be able to emulate user interaction, know the messages he's seeing in the screen, emulate some keypress events, read next question, say next answer, etc.
I've been trying to get my head around how to use pyte for this purpose and I'm pretty sure it's possible, but I can't get to how. I'd like something like this pseudocode:
Hi there.
I'd love to see an example on how to use this to test a TUI.
Particularly, my project uses https://github.com/tmbo/questionary to ask questions to the user and print a TUI to choose the answers.
I'd love to be able to emulate user interaction, know the messages he's seeing in the screen, emulate some keypress events, read next question, say next answer, etc.
I've been trying to get my head around how to use
pyte
for this purpose and I'm pretty sure it's possible, but I can't get to how. I'd like something like this pseudocode:Any help on how to do something similar please? 🙏 😇
The text was updated successfully, but these errors were encountered: