ts_install_cth
TS Installed SCB.
TS Installed SCB
This module does what the make parts of the ts:run/x command did, but not the Makefile.first parts! So they have to be done by ts or manually!!DATA TYPES
config() = proplist() (see module proplists)
reason() = term()
skip_or_fail() = {skip, reason()} | {auto_skip, reason()} | {fail, reason()}
Functions
id(Opts::term()) -> Id::term()
The id of this SCB
init(Id::term(), Opts::proplist() (see module proplists)) -> {ok, State::#state{}}
Always called before any other callback function.
pre_init_per_suite(Suite::atom(), Config::config(), State::#state{}) -> {config() | skip_or_fail(), NewState::#state{}}
Called before init_per_suite is called.
post_init_per_suite(Suite::atom(), Config::config(), Return::config() | skip_or_fail(), State::#state{}) -> {config() | skip_or_fail(), NewState::#state{}}
Called after init_per_suite.
pre_end_per_suite(Suite::atom(), Config::config() | skip_or_fail(), State::#state{}) -> {ok | skip_or_fail(), NewState::#state{}}
Called before end_per_suite.
post_end_per_suite(Suite::atom(), Config::config(), Return::term(), State::#state{}) -> {ok | skip_or_fail(), NewState::#state{}}
Called after end_per_suite.
pre_init_per_group(Group::atom(), Config::config(), State::#state{}) -> {config() | skip_or_fail(), NewState::#state{}}
Called before each init_per_group.
post_init_per_group(Group::atom(), Config::config(), Return::config() | skip_or_fail(), State::#state{}) -> {config() | skip_or_fail(), NewState::#state{}}
Called after each init_per_group.
pre_end_per_group(Group::atom(), Config::config() | skip_or_fail(), State::#state{}) -> {ok | skip_or_fail(), NewState::#state{}}
Called after each end_per_group.
post_end_per_group(Group::atom(), Config::config(), Return::term(), State::#state{}) -> {ok | skip_or_fail(), NewState::#state{}}
Called after each end_per_group.
pre_init_per_testcase(TC::atom(), Config::config(), State::#state{}) -> {config() | skip_or_fail(), NewState::#state{}}
Called before each test case.
post_end_per_testcase(TC::atom(), Config::config(), Return::term(), State::#state{}) -> {ok | skip_or_fail(), NewState::#state{}}
Called after each test case.
on_tc_fail(TC::init_per_suite | end_per_suite | init_per_group | end_per_group | atom(), Reason::term(), State::#state{}) -> NewState::#state{}
Called after a test case failed.
on_tc_skip(TC::end_per_suite | init_per_group | end_per_group | atom(), Reason::{tc_auto_skip, {failed, {Mod::atom(), Function::atom(), Reason::term()}}} | {tc_user_skip, {skipped, Reason::term()}}, State::#state{}) -> NewState::#state{}
Called when a test case is skipped.
terminate(State::#state{}) -> term()
Called when the scope of the SCB is done.