ct_containers_hook (ct_containers v0.1.1)

Link to this section Summary

Link to this section Types

Link to this type

ct_container_name/0

-type ct_container_name() :: atom().
Link to this type

ct_hook_container_spec/0

-type ct_hook_container_spec() :: #{name => ct_container_name(), image => string(), options => list()}.
Link to this type

ct_hook_spec/0

-type ct_hook_spec() :: #{lifecycle_per => ct_lifecycle(), containers => [ct_hook_container_spec()]}.
Link to this type

ct_lifecycle/0

-type ct_lifecycle() :: group | suite | testcase.

Link to this section Functions

-spec init(any(), [ct_hook_spec()]) -> {ok, #state{}}.
Link to this function

post_end_per_group(SuiteName, GroupName, Config, Return, State)

Link to this function

post_end_per_suite(SuiteName, Config, Return, State)

Link to this function

post_end_per_testcase(SuiteName, TestCase, Config, Return, State)

Link to this function

pre_init_per_group(SuiteName, GroupName, Config, State)

Link to this function

pre_init_per_suite(SuiteName, Config, State)

Link to this function

pre_init_per_testcase(SuiteName, TestCase, Config, State)