DefaultTestSuiteParser returns a TestRunnerOption which configures the test runner with the default test suite parser. Deprecated: prefer TestSuite(path)
(path string)
| 300 | // the default test suite parser. |
| 301 | // Deprecated: prefer TestSuite(path) |
| 302 | func DefaultTestSuiteParser(path string) TestRunnerOption { |
| 303 | return func(tr *TestRunner) (*TestRunner, error) { |
| 304 | if path == "" { |
| 305 | return tr, nil |
| 306 | } |
| 307 | tr.TestSuiteFilePath = path |
| 308 | tr.testSuiteParser = &tsParser{} |
| 309 | return tr, nil |
| 310 | } |
| 311 | } |
| 312 | |
| 313 | // TestSuiteParserOption returns a TestRunnerOption which configures the test runner with |
| 314 | // a custom test suite parser. |
nothing calls this directly
no outgoing calls
no test coverage detected