(filePath string, fileName string, filters runtime.Filters)
| 76 | } |
| 77 | |
| 78 | func testFile(filePath string, fileName string, filters runtime.Filters) (runtime.Result, error) { |
| 79 | s, err := getSuite(filePath, fileName) |
| 80 | if err != nil { |
| 81 | return runtime.Result{}, fmt.Errorf("Error " + err.Error()) |
| 82 | } |
| 83 | |
| 84 | return execute(s, filters) |
| 85 | } |
| 86 | |
| 87 | func testDir(directory string, filters runtime.Filters) (runtime.Result, error) { |
| 88 | result := runtime.Result{} |