Help us shape the future of Go! Take the 2026 Go Developer Survey

testcases

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Tests = make([]TestCase, 0)

Functions

This section is empty.

Types

type LogValidation

type LogValidation struct {
	LogFile        string
	ValidationFunc Validation
}

type ResultsValidation

type ResultsValidation struct {
	ResultsFile    string
	ResultsFormats []string
}

type TestCase

type TestCase struct {
	Name       string
	Args       args
	WantStatus []int
	Validation Validation
}

type TestTemplates

type TestTemplates struct {
	Help          string
	ScanHelp      string
	RemediateHelp string
	AnalyzeHelp   string
}

type Validation

type Validation func(string) bool

Jump to

Keyboard shortcuts

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