Module cth_readable_nosasl

Function Index

id/1Return a unique id for this CTH.
init/2Always called before any other callback function.
on_tc_fail/3Called after post_init_per_suite, post_end_per_suite, post_init_per_group, post_end_per_group and post_end_per_testcase if the suite, group or test case failed.
on_tc_skip/3Called when a test case is skipped by either user action or due to an init function failing.
on_tc_skip/4Called when a test case is skipped by either user action or due to an init function failing.
post_end_per_group/4Called after each end_per_group.
post_end_per_suite/4Called after end_per_suite.
post_end_per_testcase/4Called after each test case.
post_init_per_group/4Called after each init_per_group.
post_init_per_suite/4Called after init_per_suite.
pre_end_per_group/3Called after each end_per_group.
pre_end_per_suite/3Called before end_per_suite.
pre_init_per_group/3Called before each init_per_group.
pre_init_per_suite/3Called before init_per_suite is called.
pre_init_per_testcase/3Called before each test case.
terminate/1Called when the scope of the CTH is done.

Function Details

id/1

id(Opts) -> any()

Return a unique id for this CTH.

init/2

init(Id, Opts) -> any()

Always called before any other callback function. Use this to initiate any common state.

on_tc_fail/3

on_tc_fail(TC, Reason, State) -> any()

Called after post_init_per_suite, post_end_per_suite, post_init_per_group, post_end_per_group and post_end_per_testcase if the suite, group or test case failed.

on_tc_skip/3

on_tc_skip(TC, Reason, State) -> any()

Called when a test case is skipped by either user action or due to an init function failing. (Pre-19.3)

on_tc_skip/4

on_tc_skip(Suite, TC, Reason, State) -> any()

Called when a test case is skipped by either user action or due to an init function failing. (>= 19.3)

post_end_per_group/4

post_end_per_group(Group, Config, Return, State) -> any()

Called after each end_per_group.

post_end_per_suite/4

post_end_per_suite(Suite, Config, Return, State) -> any()

Called after end_per_suite.

post_end_per_testcase/4

post_end_per_testcase(TC, Config, Error, State) -> any()

Called after each test case.

post_init_per_group/4

post_init_per_group(Group, Config, Return, State) -> any()

Called after each init_per_group.

post_init_per_suite/4

post_init_per_suite(Suite, Config, Return, State) -> any()

Called after init_per_suite.

pre_end_per_group/3

pre_end_per_group(Group, Config, State) -> any()

Called after each end_per_group.

pre_end_per_suite/3

pre_end_per_suite(Suite, Config, State) -> any()

Called before end_per_suite.

pre_init_per_group/3

pre_init_per_group(Group, Config, State) -> any()

Called before each init_per_group.

pre_init_per_suite/3

pre_init_per_suite(Suite, Config, State) -> any()

Called before init_per_suite is called.

pre_init_per_testcase/3

pre_init_per_testcase(TC, Config, State) -> any()

Called before each test case.

terminate/1

terminate(Env) -> any()

Called when the scope of the CTH is done


Generated by EDoc