Documentation ¶ Index ¶ func RunTests(t *testing.T, tests []TestCase) type TestCase 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 } Source Files ¶ View all Source files tool.go Click to show internal directories. Click to hide internal directories.