You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
To replicate:
Create a unit_test_input table in your database, but do not add any values.
Create a unit_test_output table in your database and populate with your golden data.
Associate these with the first and last steps of your transformation.
Enable the Unit Test and Run
Actual result:
The unit test runs successfully and logs 'Test passed succesfully against unit test' -- successfully has 2 s.
Expected results:
The unit test to fail as no comparison is being made.
The text was updated successfully, but these errors were encountered:
+1 If a step with a golden data set receives 0 rows, the unit test passes instead of failing with an incorrect number of rows error. This could be for any reason including an upstream hop being disabled, or an upstream step being disabled.
I added a warning message and made sure the situation fails now: "WARNING: no test results found for step 'Output' : check disabled hops, input and so on."
To replicate:
Create a unit_test_input table in your database, but do not add any values.
Create a unit_test_output table in your database and populate with your golden data.
Associate these with the first and last steps of your transformation.
Enable the Unit Test and Run
Actual result:
The unit test runs successfully and logs 'Test passed succesfully against unit test' -- successfully has 2 s.
Expected results:
The unit test to fail as no comparison is being made.
The text was updated successfully, but these errors were encountered: