Module cth_readable_failonly

Function Index

adding_handler/1
code_change/3
handle_call/2
handle_event/2
handle_info/2
id/1Return a unique id for this CTH.
init/1
init/2Always called before any other callback function.
log/2
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 (pre 19.3).
on_tc_skip/4Called when a test case is skipped by either user action or due to an init function failing (>= 19.3).
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.
removing_handler/1
terminate/1Called when the scope of the CTH is done.
terminate/2

Function Details

adding_handler/1

adding_handler(Config) -> any()

code_change/3

code_change(X1, X2, State) -> any()

handle_call/2

handle_call(Event, State) -> any()

handle_event/2

handle_event(Event, State) -> any()

handle_info/2

handle_info(X1, State) -> any()

id/1

id(Opts) -> any()

Return a unique id for this CTH.

init/1

init(Opts) -> any()

init/2

init(Id, Opts) -> any()

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

log/2

log(Msg, X2) -> any()

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.

removing_handler/1

removing_handler(X1) -> any()

terminate/1

terminate(State) -> any()

Called when the scope of the CTH is done

terminate/2

terminate(X1, X2) -> any()


Generated by EDoc