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.
find_test_hook(engine, type = "setup", config)
syberia_engine. The director for the syberia project.
character. Must be 'setup'
or 'teardown'
, the former
being the default.
character. The resource used to fetch configuration.
a stageRunner that will run the relevant setup or teardown hook(s).
The seed environment for the stageRunner will contain the director object
of the relevant project in the key director
.