(t *testing.T)
| 14 | } |
| 15 | |
| 16 | func Test_RuntimeStart(t *testing.T) { |
| 17 | s := getExampleTestCases() |
| 18 | r := getRuntime() |
| 19 | got := r.Start(s) |
| 20 | |
| 21 | assert.IsType(t, Result{}, got) |
| 22 | |
| 23 | count := 0 |
| 24 | for _, r := range got.TestResults { |
| 25 | assert.Equal(t, "Output hello", r.TestCase.Title) |
| 26 | assert.True(t, r.ValidationResult.Success) |
| 27 | count++ |
| 28 | } |
| 29 | assert.Equal(t, 1, count) |
| 30 | } |
| 31 | |
| 32 | func TestRuntime_WithRetries(t *testing.T) { |
| 33 | s := getExampleTestCases() |
nothing calls this directly
no test coverage detected