View Source doctest_parse_transform (doctest v0.7.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.

Summary

Functions

Link to this function

parse_transform(Forms, Opt)

View Source