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

Function getExampleTestCases

pkg/runtime/runtime_test.go:117–134  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

115}
116
117func getExampleTestCases() []TestCase {
118 tests := []TestCase{
119 {
120 Command: CommandUnderTest{
121 Cmd: "echo hello",
122 Timeout: "5s",
123 },
124 Expected: Expected{
125 Stdout: ExpectedOut{
126 Exactly: "hello",
127 },
128 ExitCode: 0,
129 },
130 Title: "Output hello",
131 },
132 }
133 return tests
134}

Callers 5

Test_RuntimeStartFunction · 0.85
TestRuntime_WithRetriesFunction · 0.85
Test_RuntimeWithSkipFunction · 0.85
Test_RunnerExexcuteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected