TestUtil

package
v2.2.8 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2021 License: MIT Imports: 3 Imported by: 5

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