requirement

package
v17.12.0-ce-rc1+incomp... Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2017 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