View Source doctest_parse_transform (doctest v0.6.0)
Generate tests for doc attributes via parse transform.
Just plug the header on your module:
-ifdef(TEST).
-include_lib("doctest/include/doctest.hrl").
-endif.
Generate tests for doc attributes via parse transform.
Just plug the header on your module:
-ifdef(TEST).
-include_lib("doctest/include/doctest.hrl").
-endif.