MCPcopy Create free account
hub / github.com/PostHog/duckgres / runQueryTests

Function runQueryTests

tests/integration/setup_test.go:365–371  ·  view source on GitHub ↗

runQueryTests runs multiple query tests

(t *testing.T, tests []QueryTest)

Source from the content-addressed store, hash-verified

363
364// runQueryTests runs multiple query tests
365func runQueryTests(t *testing.T, tests []QueryTest) {
366 for _, test := range tests {
367 t.Run(test.Name, func(t *testing.T) {
368 runQueryTest(t, test)
369 })
370 }
371}
372
373// formatDifferences formats a list of differences for display
374func formatDifferences(diffs []string) string {

Callers 15

TestTypesNumericFunction · 0.85
TestTypesCharacterFunction · 0.85
TestTypesDateTimeFunction · 0.85
TestTypesBooleanFunction · 0.85
TestTypesBinaryFunction · 0.85
TestTypesUUIDFunction · 0.85
TestTypesJSONFunction · 0.85
TestTypesArrayFunction · 0.85
TestTypesNullHandlingFunction · 0.85
TestTypesCastingFunction · 0.85
TestTypesUnsupportedFunction · 0.85
TestFunctionsStringFunction · 0.85

Calls 2

runQueryTestFunction · 0.85
RunMethod · 0.65

Tested by

no test coverage detected