Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
broodbucket
· 2y ago · 0 comments
expect is one of those true love/hate things. Probably because the situations in which you need to use it are likely cursed. My time spent dealing with expect scripts is always miserable, and yet I don't know what I'd do without it
Comments
[–]
Marthinwurer
2y ago
I've mostly used it for testing and scripting CLIs. Are there any better ways to do that?
[–]
photonthug
2y ago
try using charm bracelets vhs tool to script the tests, then get the demo video as an animated gif for free.
[–]
Borborygymus
2y ago
> the situations in which you need to use it are likely cursed.
So true, and yet so common.