mockgyver icon indicating copy to clipboard operation
mockgyver copied to clipboard

A mocking library for Erlang

Results 3 mockgyver issues
Sort by recently updated
recently updated
newest added

Warn (or fail) when unused mocks are detected. This shall be done in a way that causes no false warnings. It is for example not enough to plug in a...

enhancement

I'm mocking a function something like this: ``` erlang ?WHEN(m:f(a, b) -> ok), ``` The function I'm testing calls the mocked function multiple times. With the mock above, the return...

enhancement

Today one can use the ?WHEN macro, both to create new modules and override the behaviour of existing ones. This has the benefit that it _is_ possible to add new...

enhancement