About the Talk
June 9, 2011 11:20 AM
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.
This talk gives you an overview of the Meck API and looks at how meck is used and works.