requirement

package
v1.4.2-0...-d912e94 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Is

func Is(s SkipT, requirements ...Test)

Is checks if the environment satisfies the requirements for the test to run or skips the tests.

Types

type SkipT

type SkipT interface {
	Skip(reason string)
}

SkipT is the interface required to skip tests

type Test

type Test func() bool

Test represent a function that can be used as a requirement validation.

Jump to

Keyboard shortcuts

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