Regression-test Apache Hop pipelines against golden data
Replace external inputs and output sinks with test datasets, run a bounded Hop regression suite and report row or field mismatches before promotion.
npx skills add agentskillexchange/skills --skill regression-test-apache-hop-pipelines-against-golden-data
Invoke when reviewing changes to an existing Apache Hop data pipeline and you need repeatable evidence that its transformations still produce expected rows. Inputs are the project, target .hpl pipeline, small reviewed CSV fixtures, expected rows and a local test run configuration. The agent prepares and runs the regression check and produces a test manifest, execution log and mismatch report for operator review.
What this skill actually does
In Hop Gui, create a pipeline unit test and input and golden datasets with explicit field layouts. Attach the input dataset to the source transform; Hop replaces that transform with an Injector. Attach the golden dataset to the output sink after the transformation being tested; Hop replaces that sink with a Dummy and compares the incoming rows. Attaching a golden dataset to the transformation under test would skip that transformation. Review every other branch for external reads or writes and replace, bypass or remove them in the test configuration.
Use manually reviewed expectations rather than regenerating the golden data from the changed pipeline. Run the selected test locally and inspect its row-count and field-value comparisons. For an existing headless test harness, use a workflow containing the documented Run pipeline unit tests action with explicit test names, then invoke ./hop-run.sh -j=<project> -r=<local-run-configuration> -f=<test-workflow.hwf> -l=BASIC. Record the process exit code and the individual test outcomes from the log; process success alone is insufficient evidence of the intended test selection. Report discrepancies without promoting the pipeline.
The boundary is fixture-based regression testing of Hop transformations, not general orchestration, scheduling or agent framework construction. Replaced sinks do not establish that all other transforms are harmless. Record the Hop version, selected tests, fixture paths, comparison precision and test tweaks; confirm the installed version supports the documented behavior. This procedure uses Hop metadata and its local launcher and can be invoked from multiple agent runtimes. Runtime execution and security review have not been performed by ASE.