testutil

package
v0.0.0-...-442c835 Latest Latest
Warning

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

Go to latest
Published: May 4, 2020 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DockerCompatible

func DockerCompatible(t *testing.T)

DockerCompatible skips tests if docker is not present

func DockerIsConnected

func DockerIsConnected(t *testing.T) bool

DockerIsConnected checks to see if a docker daemon is available (local or remote)

func IsAppVeyor

func IsAppVeyor() bool

func IsCI

func IsCI() bool

func IsTravis

func IsTravis() bool

func TestMultiplier

func TestMultiplier() int64

TestMultiplier returns a multiplier for retries and waits given environment the tests are being run under.

func WaitForResult

func WaitForResult(test testFn, error errorFn)

func WaitForResultRetries

func WaitForResultRetries(retries int64, test testFn, error errorFn)

Types

This section is empty.

Jump to

Keyboard shortcuts

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