MCPcopy Create free account
hub / github.com/araddon/qlbridge / TestMain

Function TestMain

exec/exec_test.go:21–33  ·  view source on GitHub ↗
(m *testing.M)

Source from the content-addressed store, hash-verified

19)
20
21func TestMain(m *testing.M) {
22
23 exec.RegisterSqlDriver()
24 exec.DisableRecover()
25
26 testutil.Setup() // will call flag.Parse()
27
28 // load our mock data sources "users", "articles"
29 td.LoadTestDataOnce()
30
31 // Now run the actual Tests
32 os.Exit(m.Run())
33}
34
35func TestStatements(t *testing.T) {
36 testutil.RunTestSuite(t)

Callers

nothing calls this directly

Calls 4

RegisterSqlDriverFunction · 0.92
DisableRecoverFunction · 0.92
SetupFunction · 0.92
RunMethod · 0.65

Tested by

no test coverage detected