Simulating keystrokes to external program

Hi! I have a package that makes a heavy use of fzf.
I would like to test things more thoroughly but this requires interactive actions on fzf itself.

I am aware of GitHub - Keno/VT100.jl: Terminal Emulation for terminal UI verification but to be honest, the lack of documentation and the age of the package makes me doubt it is relevant.

Is there anything else I could use?

1 Like

There is a package called TerminalRegressionTests.jl that has an interface that looks like the Unix expect command. It builds on VT100. That’s the only one I’ve seen.

Thanks! I have tried that as well, but I think it does not see the output of external commands (or maybe I am just using it wrong).

Bummer. We could totally use a testing tool like that. - Drew