[erlang-questions] Mocking I/O calls - defining sequence of returns

Edward Wang <>
Sat May 21 19:43:04 CEST 2011


Try meck https://github.com/eproxus/meck

I used it to mock inet:getifaddrs/0 etc.

On Sun, May 22, 2011 at 1:31 AM, Alyssa Kwan <>wrote:

> Hi everyone!
>
> Are there any mocking libraries written that allow you to expect a sequence
> of calls and return a different value for each call?  A mocking library that
> allows passthrough would be ideal.
>
> Thanks!
> Alyssa
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110522/5f2f36ed/attachment.html>


More information about the erlang-questions mailing list