meck and eunit best practices

Note: This blog post is being republished from the now defunct MochiMedia Labs blog. At this point, after 3 years at Mochi, I’ve written a significant amount of Erlang code with nearly 100% line coverage. I’ve learned over those 3 years that many Erlang programmers think mock libraries mean your code is being written wrong. However having not seen a significant amount of well tested code that doesn’t use them I find them to be quite useful. »

dreid