[erlang-questions] Unit Testing gen_server callbacks

Jan Vincent Liwanag <>
Tue Aug 14 03:48:46 CEST 2012


Hi,

What are your thoughts on unit testing gen_server (or other gen_*) callbacks (handle_call, etc) directly? Is this an ok practice? Or should unit tests test only the public api?

On my end, I find testing gen_server callbacks to be rather fragile. Eager to hear out other thoughts.

Thanks,

Jan Vincent Liwanag

+63 (999) 888-0247

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120814/918a2c44/attachment.html>


More information about the erlang-questions mailing list