> For the complete documentation index, see [llms.txt](https://docs.dbnl.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dbnl.com/v0.21.x/using-distributional/testing/creating-tests/test-templates.md).

# 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.21.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.21.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.21.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.21.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.21.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>
