Documentation ¶
Index ¶
- func DataSourcePermutations(dataSources []plan.DataSourceConfiguration) [][]plan.DataSourceConfiguration
- func OrderDS(dataSources []plan.DataSourceConfiguration, order []int) (out []plan.DataSourceConfiguration)
- func RunTest(definition, operation, operationName string, expectedPlan plan.Plan, ...) func(t *testing.T)
- func ShuffleDS(dataSources []plan.DataSourceConfiguration) []plan.DataSourceConfiguration
- func WithMultiFetchPostProcessor() func(*testOptions)
- func WithPostProcessors(postProcessors ...postprocess.PostProcessor) func(*testOptions)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataSourcePermutations ¶
func DataSourcePermutations(dataSources []plan.DataSourceConfiguration) [][]plan.DataSourceConfiguration
func OrderDS ¶
func OrderDS(dataSources []plan.DataSourceConfiguration, order []int) (out []plan.DataSourceConfiguration)
func ShuffleDS ¶
func ShuffleDS(dataSources []plan.DataSourceConfiguration) []plan.DataSourceConfiguration
ShuffleDS randomizes the order of the data sources to ensure that the order doesn't matter
func WithMultiFetchPostProcessor ¶
func WithMultiFetchPostProcessor() func(*testOptions)
func WithPostProcessors ¶
func WithPostProcessors(postProcessors ...postprocess.PostProcessor) func(*testOptions)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.