View Source exercism_parse_transform (erl_exercism v0.1.2)
This module provides a parse transform to replace remote calls into the module under test with calls into the example implementation if necessary.
To use this parse transform, add the following to your testing module:
-include_lib("erl_exercism/include/exercism.hrl").
Given a testing module M_tests
, all remote calls into M
will be replaced with calls into example
if the module example
is present in the project.
src/example.erl
does exist.