Getting started with Unit Testing

DataStage test cases are design-time assets that use data files to define the inputs and expected outputs of your DataStage flows.

A test case consists of input data files, output data files, and a test specification.

Each DataStage test case is associated with a single DataStage flow. A DataStage test case is executed by a job in a manner similar to its associated DataStage flow. At runtime, input data files are injected into the flow through incoming links, and the resulting data on the output links is validated against reference output files containing the expected results. Any differences in the two will cause the test to fail and the differences to be reported alongside the test case job log.

To begin creating Unit Tests, configure test data storage.