////
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.  See the NOTICE file
distributed with this work for additional information
regarding copyright ownership.  The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License.  You may obtain a copy of the License at
  http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied.  See the License for the
specific language governing permissions and limitations
under the License.
////
:page-pagination:
:description: A Data Set is a static pre-defined collection of rows, used in unit testing, where a data set is used as an alternative input data set. This input set is used to be processed in a unit testing pipeline. After processing the result of the pipeline is compared to a data set that has been specified as the 'golden data set' for the test.

= Data Set

image:icons/dataset.svg[]


A Data Set is a static pre-defined collection of rows, used in xref:metadata-types/pipeline-unit-test.adoc[unit testing^], where a data set is used as an alternative input data set.
This input set is used to be processed in a unit testing pipeline.
After processing the result of the pipeline is compared to a data set that has been specified as the 'golden data set' for the test.

== Related Plugins

None/All

== Options

[options="header"]
|===
|Option |Description
|Name|The name to be used for this data set
|Description|The description to be used for this data set
|Set Folder (or use HOP_DATASETS_FOLDER)|project folder where data sets can be found and are saved
|Base file name|the data set default name
|data set fields and their column names in the file|List of field name, type, format, length and precision.
Describes the file layout for this data set.
|===

== Samples

None