View Source doctest_transform (doctest v0.9.0)

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.

Summary

Functions

Link to this function

parse_transform(Forms, Opts)

View Source