Subscribe to our Erlang Factory newsletter to receive the latest updates and news

Adam Lindberg
Author of the open source mocking library meck
Erlang Solutions

Speaker
Adam has a degree in Computer Science from the IT University of Gothenburg, where he wrote his thesis on using QuickCheck and Ejabberd to test the XMPP specifications. He joined Erlang Solutions as a technical consultant, first in their London office, and later helping found their Stockholm one. While at Erlang Solutions, he led a team of eight, developing a domain specific language to handle real-time telephonic traffic manipulation. He now develops Erlang-based embedded systems for the automotive industry. Adam is the author of the open source mocking library meck and has published several papers at conferences and workshops.

Adam Lindberg is Giving the Following Talks
Mocking Erlang Modules with Meck


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.