structs_test

package
v0.0.0-...-8f66fda Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunTests

func RunTests(t *testing.T, tests []TestCase)

Types

type TestCase

type TestCase struct {
	Name     string
	Tool     *structs.Tool
	Context  *structs.ToolContext
	Input    interface{}
	Expected interface{} // can be the same type as output or a gomerr.Gomerr
}

Jump to

Keyboard shortcuts

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