You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When applying Concuerror on large software projects it is desirable to be able to use mocks, in order to not modify application code.
Features:
have arbitrary code in mocks
mock non-exported functions (not important)
Ideas:
Use eproxus/meck: rejected, as meck mocks use communication with one gen_server per mocked module, which has further calls to cover (so it cannot easily be instrumented) and introduces ordering/races.
Use a new option:
Name: mock
Arguments:
the name of an exported, 0-arity function returning a list of
{From :: mfa(), To :: fun()} tuples
The text was updated successfully, but these errors were encountered:
aronisstav
added
feature
Suggestions for new features or improvements on existing ones.
in progress
There is someone currently working on the issue. Should have at least a branch that refers to it.
labels
Feb 19, 2018
When applying Concuerror on large software projects it is desirable to be able to use mocks, in order to not modify application code.
Features:
mock non-exported functions(not important)Ideas:
Use eproxus/meck: rejected, as meck mocks use communication with one gen_server per mocked module, which has further calls to cover (so it cannot easily be instrumented) and introduces ordering/races.mock
{From :: mfa(), To :: fun()}
tuplesThe text was updated successfully, but these errors were encountered: