-
Notifications
You must be signed in to change notification settings - Fork 3
systest_cth
#Module systest_cth#
Common Test Hook ----------------------------------------------------------------------------.
##Function Index##
id/1 | Return a unique id for this CTH. |
init/2 | Always called before any other callback function. |
post_end_per_group/4 | |
post_end_per_suite/4 | |
post_end_per_testcase/4 | |
pre_init_per_group/3 | Called before each init_per_group. |
pre_init_per_suite/3 | Called before init_per_suite is called, this code might start a SUT, if one is configured for this suite. |
pre_init_per_testcase/3 | Called before each test case. |
terminate/1 |
##Function Details##
###id/1##
id(Opts) -> any()
Return a unique id for this CTH.
###init/2##
init(X1, Opts) -> any()
Always called before any other callback function. Use this to initiate any common state.
###post_end_per_group/4##
post_end_per_group(Group, Config, Result, State) -> any()
###post_end_per_suite/4##
post_end_per_suite(Suite, Config, Result, State) -> any()
###post_end_per_testcase/4##
post_end_per_testcase(TC, Config, Result, State) -> any()
###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, this code might start a SUT, if one is configured for this suite.
###pre_init_per_testcase/3##
pre_init_per_testcase(TC, Config, State) -> any()
###terminate/1##
terminate(X1) -> any()