Pipeline Unit Test
Description
Describes a test for a pipeline. During the test, alternative data sets are used as input from a given transform and testing output against a golden data set.
When the result set produced by the pipeline execution matches the expected result (golden data set), the test succeeds. If the generated results do not match what was expected, the test fails.
Specific transforms in a pipeline can be bypassed or removed for testing for addtional flexibility.
Additionally, unit tests can be executed in bulk.
Check Pipeline Unit Testing^ for more details.
Options
Option | Default | Description |
---|---|---|
Name | the name to use for this unit test | |
Description | the description to use for this unit test | |
Type of test | Development | 'Development' or 'unit test' |
The pipeline to test | the pipeline that will be tested by this unit test | |
Test pipeline filename (Optional) | ||
Base test path (or use HOP_UNIT_TESTS_FOLDER) | ||
Select this test automatically | false | |
Replace a database connection with another | List of database connections in the pipeline to test (Original DB) to replace by database connections in this unit test (Replacement DB) | |
Variables | list of variable names and values to use for this test |