[erlang-questions] how to override meck passthrough

Fred Hebert mononcqc@REDACTED
Tue Dec 9 18:23:14 CET 2014

On 12/09, Dror Mein wrote:
> I read in the meck readme that you can override a meck passthrough for a single meck:expect.how is it done?Thanks

You just directly delcare the meck expect as usual.

The difference is that without the passthrough option, you'll have a
module that contains *only* the mocked calls. With passthrough, all the
calls will be there, but each expect will override existing ones.


More information about the erlang-questions mailing list