Documentation ¶
Overview ¶
Package testmodel contains schema types for data files used in parameterized tests. The actual data files are in subdirectories of data/data-files.
Index ¶
Constants ¶
View Source
const DefaultForAllTypes servicedef.ValueType = "allDefaults"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EvalTestSuite ¶
type EvalTestSuite[SDKDataType any] struct { Name string `json:"name"` RequireCapability string `json:"requireCapability"` SkipEvaluateAllFlags bool `json:"skipEvaluateAllFlags"` SDKData SDKDataType `json:"sdkData"` Context o.Maybe[ldcontext.Context] `json:"context"` // used only for client-side tests Evaluations []EvalTest `json:"evaluations"` }
func (EvalTestSuite[SDKDataType]) GetName ¶
func (s EvalTestSuite[SDKDataType]) GetName() string
type ValueDetail ¶
Click to show internal directories.
Click to hide internal directories.