Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Screen Shot 2019-03-27 at 4.38.20 pm.png

Table of Contents
minLevel3

Step-by-step Guide

1. Run DataStage Job in Unit Testing Mode

Run DataStage Job in Unit Testing Mode by Enabled the pUnitTesting option


You'll be able to see dataStage job will now use the 2 fabricated rows for unit testing


8. Check Unit Tests List

Navigate back to Unit Tests List from the sidebar. You can now see Unit Test for ER_EMPLOYEE created.

Due to the fact that we did not specify an output for comparison. The result is in RED colour. 


9. Output mismatch report

By clicking on the RED view result button above, it will bring you a summary report of the Unit Test



10. Baseline Output Data

If we go back to Unit Test Setting for TR_EMPLOYEE, we can now see the output of the first run is now set at the baseline of the output


11. Rerun Unit Test

If we rerun the Unit Test again, the test summary report will produce a report of perfect matched output.