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

Function getRuntime

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

Source from the content-addressed store, hash-verified

101}
102
103func getRuntime() Runtime {
104 eh := EventHandler{
105 TestFinished: func(tr TestResult) {
106 fmt.Println("I do nothing")
107 },
108 TestSkipped: func(tr TestResult) {
109 fmt.Printf("%s was skipped", tr.TestCase.Title)
110 },
111 }
112
113 runtime := NewRuntime(&eh, Node{Name: "test"}, Node{Name: "test2"})
114 return runtime
115}
116
117func getExampleTestCases() []TestCase {
118 tests := []TestCase{

Callers 5

Test_NewRuntimeFunction · 0.85
Test_RuntimeStartFunction · 0.85
TestRuntime_WithRetriesFunction · 0.85
Test_RuntimeWithSkipFunction · 0.85

Calls 1

NewRuntimeFunction · 0.85

Tested by

no test coverage detected