MCPcopy Create free account
hub / github.com/dolthub/doltgresql / RunTestsFile

Function RunTestsFile

integration-tests/go-sql-server-driver/testdef.go:542–554  ·  view source on GitHub ↗
(t *testing.T, path string)

Source from the content-addressed store, hash-verified

540}
541
542func RunTestsFile(t *testing.T, path string) {
543 def, err := ParseTestsFile(path)
544 require.NoError(t, err)
545 parallel := def.Parallel
546 for _, test := range def.Tests {
547 t.Run(test.Name, func(t *testing.T) {
548 if parallel {
549 t.Parallel()
550 }
551 test.Run(t)
552 })
553 }
554}
555
556func RunSingleTest(t *testing.T, path string, testName string) {
557 def, err := ParseTestsFile(path)

Callers 15

TestConfigFunction · 0.85
TestClusterFunction · 0.85
TestRemotesAPIFunction · 0.85
TestClusterTLSFunction · 0.85
TestOriginalFunction · 0.85
TestTLSFunction · 0.85
TestClusterReadOnlyFunction · 0.85
TestLargeTextReplicationFunction · 0.85
TestLargeBlobReplicationFunction · 0.85
TestLargeJSONReplicationFunction · 0.85

Calls 2

ParseTestsFileFunction · 0.85
RunMethod · 0.80

Tested by 15

TestConfigFunction · 0.68
TestClusterFunction · 0.68
TestRemotesAPIFunction · 0.68
TestClusterTLSFunction · 0.68
TestOriginalFunction · 0.68
TestTLSFunction · 0.68
TestClusterReadOnlyFunction · 0.68
TestLargeTextReplicationFunction · 0.68
TestLargeBlobReplicationFunction · 0.68
TestLargeJSONReplicationFunction · 0.68