test_extract: Run tests for the extract step.

View source: R/extract_runner.R

test_extractR Documentation

Run tests for the extract step.

Description

Runs any configured user defined tests on the extracted data. The tests are optional for this stage and this always returns TRUE if there are no tests.

Usage

test_extract(con, path, extract_test, extracted_data)

Arguments

con

The active DB connection.

path

Path to the project directory, for locating the transform tests.

extract_test

Optional path to the extract tests. Relative to path argument.

extracted_data

The extracted data to test.

Value

TRUE if tests pass, otherwise throws an error.


vimc/dettl documentation built on Oct. 6, 2022, 2:13 p.m.