# Auto-Test Generation

In order to facilitate production testing, Distributional can automatically generate a suite of Tests based on the user’s uploaded data. Distributional studies the Run results data and create the appropriate thresholds for the Tests.

## Generate Production Tests

In the Test Config page, click the `AUTO-GENERATE TESTS` button; this will prompt a modal where the user can select the Run which the tests will be based on. Click Select All to generate tests for all columns or optionally sub-select the columns to generate tests. Click `GENERATE TESTS` to generate the production tests.

<figure><img src="/files/tkedBwFrXV3hj4DSQXrM" alt=""><figcaption><p>Auto-Generate Tests Modal</p></figcaption></figure>

Once the Tests are generated, you can view them under the Generated Tests section.

<figure><img src="/files/iqS5Kk2zkMtuEHq7kkjq" alt=""><figcaption></figcaption></figure>


---

# 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.dbnl.com/v0.25.x/to-be-deleted/auto-test-generation.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.
