Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoMain ¶
DoMain runs the pre- and post-processing of tests, to setup the default global orchestrator and global logger.
func NewSetup ¶
NewSetup creates a new empty Setup with nil system and nil orchestrator. The orchestrator can be configured with an option.
func Orchestrator ¶
func Orchestrator() stack.Orchestrator
Orchestrator returns the globally configured orchestrator.
Add a TestMain to your test package init the orchestrator:
func TestMain(m *testing.M) {
presets.DoMain(m)
}
func WithEmptySystem ¶
WithEmptySystem attaches an empty system, for other options to add components to
func WithGlobalOrchestrator ¶
WithGlobalOrchestrator attaches the main global Orchestrator() to the setup.
Types ¶
type SimpleInterop ¶
func NewSimpleInterop ¶
func NewSimpleInterop(t stack.T, opts ...stack.Option) *SimpleInterop
Click to show internal directories.
Click to hide internal directories.