# Execute Unit Tests

## ![](/files/FXEnZ8nWSJhqZlX7xXYR) Execute Unit Tests

### Description <a href="#description" id="description"></a>

The Execute Unit Tests transform fetches and executes the available [unit tests](/data-shaper-1.21/knowing-the-data-shaper-designer/pipelines/pipeline-unit-testing.md) for the current project.

| Hop Engine | <sup>✓</sup> |
| ---------- | ------------ |
| Spark      | X            |
| Flink      | X            |
| Dataflow   | X            |

### Options

| Option                      | Description                                                                                                                                               |
| --------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Transform name              | name for this transform                                                                                                                                   |
| Test name input field       | name of a field to get the unit test name from to determine which transforms to execute. This option is only available when the transform receives input. |
| Type of tests to run        | Development or Unit Test                                                                                                                                  |
| Pipeline output field name  | the pipeline that is tested                                                                                                                               |
| Unit test output field name | the unit test that is executed                                                                                                                            |
| Data set output field name  | the (golden) data set used for this test                                                                                                                  |
| transform output field name | the transform that is used in this test                                                                                                                   |
| Error output field name     | error status (Y or N)                                                                                                                                     |
| Comment output field name   | the comment or error message returned by the test                                                                                                         |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.primeur.com/data-shaper-1.21/knowing-the-data-shaper-designer/pipelines/transforms/exectests.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
