MCPcopy Create free account
hub / github.com/commander-cli/commander / Test_Validate

Function Test_Validate

pkg/runtime/validator_test.go:17–24  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

15}
16
17func Test_Validate(t *testing.T) {
18 test := getExampleTest()
19
20 got := Validate(test)
21
22 assert.True(t, got.ValidationResult.Success)
23 assert.Equal(t, test, got.TestCase)
24}
25
26func Test_ValidateStdoutShouldFail(t *testing.T) {
27 test := getExampleTest()

Callers

nothing calls this directly

Calls 2

getExampleTestFunction · 0.85
ValidateFunction · 0.85

Tested by

no test coverage detected