helpers

package
v0.14.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy(source, dst string)

func InjectIdIntoDemoFile

func InjectIdIntoDemoFile(t *testing.T, filePath, id string)

func RemoveIDFromTestSuiteFile

func RemoveIDFromTestSuiteFile(t *testing.T, filePath string)

func RequireExitCodeEqual

func RequireExitCodeEqual(t *testing.T, result *command.ExecResult, expectedExitCode int)

func UnmarshalJSON

func UnmarshalJSON[T any](t *testing.T, data string) T

func UnmarshalTable

func UnmarshalTable(t *testing.T, data string) []map[string]string

func UnmarshalYAML

func UnmarshalYAML[T any](t *testing.T, data string) T

func UnmarshalYAMLSequence

func UnmarshalYAMLSequence[T any](t *testing.T, data string) []T

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL