Documentation ¶
Index ¶
- func Execute(t *testing.T, dir string) error
- func ExecuteWithOptions(t *testing.T, dir string, opts ...executor.Option) error
- func FetchedImage(t *testing.T, image string) string
- func GetBasicContainerInstance(t *testing.T, image string) *any.Any
- func RestoreDirLater(t *testing.T)
- func TasksToJSON(t *testing.T, tasks []*api.Task) []byte
- func TempChdir(t *testing.T)
- func TempChdirPopulatedWith(t *testing.T, sourceDir string)
- func TempDir(t *testing.T) string
- func TempDirPopulatedWith(t *testing.T, sourceDir string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteWithOptions ¶ added in v0.3.0
func RestoreDirLater ¶ added in v0.3.0
func TempChdirPopulatedWith ¶ added in v0.3.0
TempChdirPopulatedWith creates a temporary per-test directory filled with sourceDir contents and switches to it.
func TempDir ¶
tempDir supplements an alternative to TB.TempDir()[1], which is only available in 1.15. [1]: https://github.com/golang/go/issues/35998
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.