()
| 101 | } |
| 102 | |
| 103 | func 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 | |
| 117 | func getExampleTestCases() []TestCase { |
| 118 | tests := []TestCase{ |
no test coverage detected