[erlang-questions] common_test test case documentation

Siri Hansen <>
Thu Mar 20 16:24:30 CET 2014


There is also ct:comment/1,2 which could be called at the beginning of the
test case. Note that subsequent calls to this function, or the return value
{comment,""}, will overwrite previous calls. And it does not necessarily
look very nice when a test fails...
/siri


2014-03-11 19:45 GMT+01:00 Loïc Hoguin <>:

> And of course I made a mistake in one example. Sorry.
>
>
> On 03/11/2014 07:43 PM, Loïc Hoguin wrote:
>
>>    testcase3() -> ?TEST_HERE, {comment, "docs here"}.
>>
>
> The above should read:
>
>     testcase3(Config) -> ?TEST_HERE, {comment, "docs here"}.
>
>
> --
> Loïc Hoguin
> http://ninenines.eu
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140320/922f85ae/attachment.html>


More information about the erlang-questions mailing list