This is an automated email from the ASF dual-hosted git repository.
hansva pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hop.git
The following commit(s) were added to refs/heads/master by this push:
new 57db20fd16 HOP-4125 document possible test outcomes
new 8db769b738 Merge pull request #1636 from bamaer/HOP-4125
57db20fd16 is described below
commit 57db20fd16d396638178f3a1fce656e2adb2bf52
Author: Bart Maertens <[email protected]>
AuthorDate: Sun Aug 14 14:39:35 2022 +0200
HOP-4125 document possible test outcomes
---
.../modules/ROOT/pages/pipeline/pipeline-unit-testing.adoc | 5 +++++
1 file changed, 5 insertions(+)
diff --git
a/docs/hop-user-manual/modules/ROOT/pages/pipeline/pipeline-unit-testing.adoc
b/docs/hop-user-manual/modules/ROOT/pages/pipeline/pipeline-unit-testing.adoc
index 37390680a2..4fae39f429 100644
---
a/docs/hop-user-manual/modules/ROOT/pages/pipeline/pipeline-unit-testing.adoc
+++
b/docs/hop-user-manual/modules/ROOT/pages/pipeline/pipeline-unit-testing.adoc
@@ -172,6 +172,11 @@ In the example below, the number of rows for the year 1990
was changed from 486
image::pipeline-unit-testing-test-failed.png[Unit test - failed,width="90%"]
+While successful test show 'Test passed succesfully against golden data set'
and 'Test passed succesfully against unit test', failed unit tests may show one
of the error messages listed below:
+
+* `Incorrect number of rows received from transform, golden data set
<GOLDEN_DATASET_NAME> has <GOLDEN_DATASET_ROWS> rows in it and we received
<NB_ROWS_FOUND>`
+* `Validation against golden data failed for row number <ROW_NUMBER>, field
<FIELD_NAME>: transform value [<FIELD_VALUE>] does not correspond to data set
value [<GOLDEN_DATASET_VALUE>]`
+
=== Remove and bypass transforms in unit tests
While developing pipelines, you'll often remove or disable transforms in a
pipeline.