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
In which my tests will supply answers to the input stream based on the output received in the output stream. An answering machine, if you will.
Recently, form.WithOutput(out) was introduced which I'm grateful for, but I'd love to have an WithInput as well.
Describe the solution you'd like
I'd like WithInput(in io.Reader) to be added to the form objects to avoid having to use tea directly. Perhaps you could even introduce a piece of documentation on how to use it with 2 io.Pipe's to simulate user input based on questions in the output.
Activity
[-]Add `WithInput` to specificy input stream[/-][+]Add `WithInput` to specify input stream[/+]