Icon

02b Application testing - Exercise

This workflow showcases the aspects of building the application test. The workflow:
Step 1 : Read the Data Transformation workflow

  1. Use Workflow Reader node to read the workflow saved in exercise 1

    • Set the workflow location relative to the current workflow

    • Select the Remove input and output nodes option

  2. Connect the output of the Workflow Reader node to the Workflow Executor node

    • Auto-adjust the ports of the Workflow Executor node

  3. The rest of the workflow is already pre-configured. Execute the workflow


../../../00 Deployment workflows/Data_Transformation


Learning objective: Learn how to test the data transformation workflow.


Workflow description: This workflow showcases the aspects of building the application test. The workflow:

  • Reads the input golden table and provides it to the data transformation workflow being tested,

  • Compares the data transformation output against a golden output data,

  • Enables sending the test status along with the testflow metadata to a caller workflow (e.g., testflow report)


You'll find the instructions to the exercises in the yellow annotations.

Session 1 - Preparing a data pipeline for deployment

Exercise 02b Application testing

Testing Data Transformation Workflow
Testflow statusand metadata
Workflow Service Output
Status in case ofSuccess
Variable Creator
Column Renamer
Domain Calculator
Active Branch Inverter
Table Difference Finder
Capture informationrelated to testexecution
Variable to Table Row
Golden data output
Table Reader
Status in case of Failure
Variable Creator
Domain Calculator
Export status and metadata
Catch Errors (Var Ports)
Golden data input
Table Reader
Try (Variable Ports)
Workflow Metadata
Column Resorter

Nodes

Extensions

Links