MCPcopy Create free account
hub / github.com/ariga/atlas / TestPostgres_Script

Function TestPostgres_Script

internal/integration/script_test.go:57–76  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

55}
56
57func TestPostgres_Script(t *testing.T) {
58 pgRun(t, func(t *pgTest) {
59 testscript.Run(t.T, testscript.Params{
60 Dir: "testdata/postgres",
61 Setup: t.setupScript,
62 Cmds: map[string]func(ts *testscript.TestScript, neg bool, args []string){
63 "only": cmdOnly,
64 "apply": t.cmdApply,
65 "exist": t.cmdExist,
66 "synced": t.cmdSynced,
67 "cmphcl": t.cmdCmpHCL,
68 "cmpshow": t.cmdCmpShow,
69 "cmpmig": t.cmdCmpMig,
70 "execsql": t.cmdExec,
71 "atlas": t.cmdCLI,
72 "clearSchema": t.clearSchema,
73 },
74 })
75 })
76}
77
78func TestSQLite_Script(t *testing.T) {
79 tt := &liteTest{T: t}

Callers

nothing calls this directly

Calls 2

pgRunFunction · 0.85
RunMethod · 0.45

Tested by

no test coverage detected