dthree / vorpal

Node's framework for interactive CLIs
http://vorpal.js.org
MIT License
5.63k stars 278 forks source link

Question: Testing interactive CLIs #320

Open ORESoftware opened 5 years ago

ORESoftware commented 5 years ago

How does Vorpal test interactive CLIs? what tool(s) do you use? thanks

ORESoftware commented 5 years ago

I assume a wrapper process launches the cli tool as a child process, and then listens for stdout from the child and then sends the child appropriate stdin at the appropriate time.

channg commented 5 years ago

like this? https://github.com/popomore/coffee