MCPcopy Create free account
hub / github.com/dataform-co/dataform / test

Function test

cli/api/commands/test.ts:4–9  ·  view source on GitHub ↗
(
  dbadapter: dbadapters.IDbAdapter,
  tests: dataform.ITest[]
)

Source from the content-addressed store, hash-verified

2import { dataform } from "df/protos/ts";
3
4export async function test(
5 dbadapter: dbadapters.IDbAdapter,
6 tests: dataform.ITest[]
7): Promise<dataform.ITestResult[]> {
8 return await Promise.all(tests.map(testCase => runTest(dbadapter, testCase)));
9}
10
11async function runTest(
12 dbadapter: dbadapters.IDbAdapter,

Callers 1

runCliFunction · 0.90

Calls 1

runTestFunction · 0.85

Tested by

no test coverage detected