# Test Templates

Test templates are macros for basic test patterns recommended by Distributional. It allows the user to quickly create tests from a builder in the UI. Distributional provides five classes of Test Templates.

* [Single Run](/v0.20.x/using-distributional/testing/testing-strategies/test-that-a-given-distribution-has-certain-properties.md): These are parametric statistics of a column.
* [Similarity of Statistics](/v0.20.x/using-distributional/testing/testing-strategies/test-that-distributions-have-the-same-statistics.md): These test if the absolute difference of a statistic of a column between two runs is less than a threshold.
* [Similarity of Distributions](/v0.20.x/using-distributional/testing/testing-strategies/test-that-columns-are-similarly-distributed.md): These test if the column from two different runs are similarly distributed is using a nonparametric statistic.
* [Similarity of Results](/v0.20.x/using-distributional/testing/testing-strategies/test-that-specific-results-have-matching-behavior.md): These are tests on the row-wise absolute difference of result
* [Difference of Statistics](/v0.20.x/using-distributional/testing/testing-strategies/test-that-distributions-are-not-the-same.md): These tests the signed difference of a statistic of a column between two runs

## Creating Test from Test Templates

From the Test Configuration page, click the Test Template dropdown under My Tests.

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

Select from one of the five options and click `ADD TEST`. A Test Creation drawer will appear and the user can edit the statistic, column, and assertion that they desire. Note that each Test Template has a limited set of statistics that it supports.

<figure><img src="/files/qbbkRFMHXo3V29dF3Tyb" alt=""><figcaption><p>Dropdown selector</p></figcaption></figure>

<figure><img src="/files/xfoo8gumJElE7HLFT2an" alt=""><figcaption><p>Test Creation Drawer</p></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.20.x/using-distributional/testing/creating-tests/test-templates.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.
