Documentation ¶ Overview ¶ Package tests contains common tests for runtime host implementations. Index ¶ func TestProvisioner(t *testing.T, cfg host.Config, factory func() (host.Provisioner, error), ...) type TestCase Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func TestProvisioner ¶ func TestProvisioner( t *testing.T, cfg host.Config, factory func() (host.Provisioner, error), extraTests []TestCase, ) Types ¶ type TestCase ¶ type TestCase struct { // Name is a test name used with t.Run. Name string // Fn is the actual test function. Fn func(*testing.T, host.Config, host.Provisioner) } TestCase is a test case descriptor. Source Files ¶ View all Source files tester.go Click to show internal directories. Click to hide internal directories.