View Source doctest_transform (doctest v0.10.2)
Generate tests for doc attributes via parse transform.
Just plug the header on your module:
-ifdef(TEST).
-include_lib("doctest/include/doctest.hrl").
-doctest <options> % optional
-endif.
Generate tests for doc attributes via parse transform.
Just plug the header on your module:
-ifdef(TEST).
-include_lib("doctest/include/doctest.hrl").
-doctest <options> % optional
-endif.