bahmutov / bdd-stdin

Utility for easily feeding mock responses to unit tests that require command line input from the user
39 stars 4 forks source link

Access to mocked stdin instance #3

Open niksy opened 7 years ago

niksy commented 7 years ago

Any chance we can get access to mocked stdin instance so we can restore standard input to original state with restore?

bahmutov commented 7 years ago

hmm, sure, if you change the code around and make a pull request, I promise to merge it quickly