(m *testing.M)
| 19 | ) |
| 20 | |
| 21 | func 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 | |
| 35 | func TestStatements(t *testing.T) { |
| 36 | testutil.RunTestSuite(t) |
nothing calls this directly
no test coverage detected