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)
engine | syberia_engine. The director for the syberia project. |
---|---|
type | character. Must be |
config | 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
.