annotate

Annotation is mostly used together with the assert statement. It annotates the details of a testing case.

Syntax

@<topic$ :<sub_topic1$ =<expr1$ ,

<sub_topic2$ =<expr2$ ,

Examples

$ @testing:case="testing count"
ct = count(1..10)

assert ct == 11;

Testing case testing count failed

$ @testing:case="function_and_ex", exception=1;

$ @testing_case;
function_and_ex

$ @testing_exception;

1