I have an Elixir program I'd like to test which gets input from the user via IO.gets several times. How would I go about faking this input in a test?
IO.gets
Note: I would like to return a different value for each IO.gets
Aucun commentaire:
Enregistrer un commentaire