[erlang-questions] mocking libraries?

Dominic Williams erlang@REDACTED
Tue Jan 6 17:41:29 CET 2009


Hi Cliff,

> Does anyone know of any Erlang mocking libraries for testing?  I'm
> endeavoring to create my own, but I'd rather not reinvent the wheel.

My recommendation, especially in Erlang, is to avoid mocking if
possible (and in Erlang it is usually possible). If you are even
tempted to mock it is quite likely that you are doing something
un-erlangy ;-)

Cf. previous posts:

http://www.erlang.org/pipermail/erlang-questions/2006-September/022704.html
http://www.erlang.org/pipermail/erlang-questions/2006-September/022712.html
http://www.erlang.org/pipermail/erlang-questions/2008-May/035272.html
http://www.erlang.org/pipermail/erlang-questions/2008-June/035544.html

Regards,

Dominic Williams
http://dominicwilliams.net




More information about the erlang-questions mailing list