MCPcopy Create free account
hub / github.com/cel-expr/cel-go / TestSuite

Function TestSuite

tools/celtest/test_runner.go:292–297  ·  view source on GitHub ↗

TestSuite provides a reference to the test suite file (either .yaml or .textproto)

(path string)

Source from the content-addressed store, hash-verified

290
291// TestSuite provides a reference to the test suite file (either .yaml or .textproto)
292func TestSuite(path string) TestRunnerOption {
293 return func(tr *TestRunner) (*TestRunner, error) {
294 tr.TestSuiteFilePath = path
295 return tr, nil
296 }
297}
298
299// DefaultTestSuiteParser returns a TestRunnerOption which configures the test runner with
300// the default test suite parser.

Callers 5

runTestSuiteFunction · 0.92
TestCoverageStatsFunction · 0.70
TestTriggerTestsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected