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

Function Test_TestCommand_FailingSuite

pkg/app/test_command_test.go:74–77  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

72}
73
74func Test_TestCommand_FailingSuite(t *testing.T) {
75 err := TestCommand("testdata/test_fail.yaml", TestCommandContext{})
76 assert.Equal(t, "Test suite failed, use --verbose for more detailed output", err.Error())
77}
78
79func Test_TestCommand_FileWithDir(t *testing.T) {
80 err := TestCommand("testdata", TestCommandContext{})

Callers

nothing calls this directly

Calls 1

TestCommandFunction · 0.85

Tested by

no test coverage detected