testutils

package
v1.4.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetJobFromTestOutput

func GetJobFromTestOutput(ctx context.Context, t *testing.T, c clientv2.API, out string) *models.Job

func IsIPFSEnabled added in v1.4.0

func IsIPFSEnabled(ipfsConnect string) bool

IsIPFSEnabled will return true if the test is running in an environment that can support IPFS.

func MustHaveIPFS added in v1.4.0

func MustHaveIPFS(t testing.TB, ipfsConnect string)

MustHaveIPFS will skip the test if the test is running in an environment that cannot support IPFS.

func SkipIfArm

func SkipIfArm(_ *testing.T, _ string)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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