find_test_hook: Fetch the test setup or teardown hook, if any exists.

Description Usage Arguments Details Value See Also

Description

The resource config/environments/test should contain a local variable setup or teardown that has a function or list of functions to be incorporated into a stageRunner that will run the actual test setup or teardown.

Usage

1
find_test_hook(engine, type = "setup", config)

Arguments

engine

syberia_engine. The director for the syberia project.

type

character. Must be 'setup' or 'teardown', the former being the default.

config

character. The resource used to fetch configuration.

Details

The seed environment for the stageRunner will contain the director object of the relevant project in the key director.

Value

a stageRunner that will run the relevant setup or teardown hook(s).

See Also

test_engine


robertzk/syberia documentation built on May 27, 2019, 11:37 a.m.