diff --git a/website/docs/reference/global-configs/resource-type.md b/website/docs/reference/global-configs/resource-type.md
index ad8897a745c..c75df5b8e2c 100644
--- a/website/docs/reference/global-configs/resource-type.md
+++ b/website/docs/reference/global-configs/resource-type.md
@@ -4,8 +4,18 @@ id: "resource-type"
sidebar: "resource type"
---
+
+
The `--resource-type` and `--exclude-resource-type` flags include or exclude resource types from the `dbt build`, `dbt clone`, and `dbt list` commands.
+
+
+
+
+The `--resource-type` and `--exclude-resource-type` flags include or exclude resource types from the `dbt build`, `dbt test`, `dbt clone`, and `dbt list` commands.
+
+
+
This means the flags enable you to specify which types of resources to include or exclude when running the commands, instead of targeting specific resources.
:::tip Note
@@ -109,3 +119,27 @@ Instead of targeting specific resources, use the `--resource-flag` or `--exclude
+
+
+
+- In this example, use the following command to exclude _all_ unit tests when running tests:
+
+
+
+ ```text
+ dbt test --exclude-resource-type unit_test
+ ```
+
+
+
+- In this example, use the following command to include all data tests when running tests:
+
+
+
+ ```text
+ dbt test --resource-type test
+ ```
+
+
+
+