Try meck <a href="https://github.com/eproxus/meck">https://github.com/eproxus/meck</a><div><br></div><div>I used it to mock inet:getifaddrs/0 etc.<br><br><div class="gmail_quote">On Sun, May 22, 2011 at 1:31 AM, Alyssa Kwan <span dir="ltr"><<a href="mailto:alyssa.c.kwan@gmail.com">alyssa.c.kwan@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi everyone!<br>
<br>
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.<br>
<br>
Thanks!<br>
Alyssa<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div><br></div>