TestUtil

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunErrorTable

func RunErrorTable(table []TestTableEntry)

func RunTable

func RunTable(table []TestTableEntry)

Types

type TestTableEntry

type TestTableEntry struct {
	Name     string
	Prompt   survey.Prompt
	Value    interface{}
	Validate func(interface{}) error
}

Jump to

Keyboard shortcuts

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