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

Function init

tools/celtest/test_runner.go:65–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63)
64
65func init() {
66 flag.StringVar(&testSuitePath, "test_suite_path", "", "path to a test suite")
67 flag.StringVar(&fileDescriptorSetPath, "file_descriptor_set", "", "path to a file descriptor set")
68 flag.StringVar(&configPath, "config_path", "", "path to a config file")
69 flag.StringVar(&baseConfigPath, "base_config_path", "", "path to a base config file")
70 flag.StringVar(&celExpression, "cel_expr", "", "CEL expression to test")
71 flag.BoolVar(&enableCoverage, "enable_coverage", false, "Enable coverage calculation and reporting.")
72 flag.BoolVar(&enableDebug, "celtest_debug", false, "Enables verbose logging of test case execution.")
73}
74
75func updateRunfilesPathForFlags(testResourcesDir string) error {
76 if testResourcesDir == "" {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected