Meck is a fairly new mocking library for Erlang that enables you to easily mock Erlang modules during testing. You can create modules, add functions, specify return values and throw exceptions. You can also look at a history of the calls made to the module, and make assertions based on that history. Meck can be used for any kind of testing, but is particularly useful in unit or component testing where it is often difficult to handle dependencies on external components or libraries.
Meck has been used in production in many different projects for about a year.
Target audience: Erlang developers and testers.
Talk objectives: Give an introduction tutorial to using meck.