12
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 25 Nov 2026
12 points (83.3% liked)
Rust
8386 readers
23 users here now
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Wormhole
Credits
- The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
founded 3 years ago
MODERATORS
No, not by hand. That would be madness. autoexpect
Fair point, autoexpect does take the typing out of it. It still records one session that you drive yourself though. What I wanted was the step before that: read the tool's --help, try lots of flag combinations and odd inputs on its own, and keep hundreds of cases without me deciding each one. Then replay them against the rewrite. For a few interactive flows, autoexpect is probably the better tool.
You can keep the loop as it is. My point is, you could have used existing tools for extraction and confirmation of behavior instad of reinventing the wheel