Documentation
¶
Overview ¶
Package fixture runs bounded, customer-supplied SQL transform fixtures without providers.
Index ¶
Constants ¶
View Source
const MaxBytes = 1 << 20
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Diagnostic ¶
type Fixture ¶
type Fixture struct {
Inputs map[string]json.RawMessage `json:"inputs"`
Expected json.RawMessage `json:"expected,omitempty"`
}
type Result ¶
type Result struct {
Passed bool `json:"passed"`
Asserted bool `json:"asserted"`
Step string `json:"step"`
Scope string `json:"scope"`
Output json.RawMessage `json:"output,omitempty"`
Columns []string `json:"columns,omitempty"`
Diagnostics []Diagnostic `json:"diagnostics"`
}
Click to show internal directories.
Click to hide internal directories.