test_transform: Run tests for transform step.

View source: R/transform_runner.R

test_transformR Documentation

Run tests for transform step.

Description

This checks the transformed data adheres to the db schema and runs any configured user defined tests.

Usage

test_transform(
  con,
  path,
  mode,
  transform_test,
  transformed_data,
  extracted_data
)

Arguments

con

The active DB connection.

path

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

mode

The type of import being run.

transform_test

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

transformed_data

Data returned from the transform stage.

extracted_data

Data returned from the extract step.

Value

TRUE is tests pass, otherwise throws an error.


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