From b6d0fa39844ff07f86decd9f4b13b98b63dc7594 Mon Sep 17 00:00:00 2001 From: Anubhav Sharma Date: Wed, 29 Nov 2023 09:52:54 -0500 Subject: [PATCH 1/2] Update testing-sources.md for docs on running all source tests The documentation advises on running the `dbt test --select source:*` command for running tests on all sources. However, this syntax (with the asterisk), is not something the CLI is too happy with. Double quoting the selector resolves the error. --- website/docs/faqs/Tests/testing-sources.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/faqs/Tests/testing-sources.md b/website/docs/faqs/Tests/testing-sources.md index 8eb769026e5..c23086a6cc9 100644 --- a/website/docs/faqs/Tests/testing-sources.md +++ b/website/docs/faqs/Tests/testing-sources.md @@ -9,7 +9,7 @@ id: testing-sources To run tests on all sources, use the following command: ```shell -$ dbt test --select source:* +$ dbt test --select "source:*" ``` (You can also use the `-s` shorthand here instead of `--select`) From 8653b15f90c149847bb0886e12557c3eb0670676 Mon Sep 17 00:00:00 2001 From: mirnawong1 <89008547+mirnawong1@users.noreply.github.com> Date: Mon, 4 Dec 2023 07:01:59 -0500 Subject: [PATCH 2/2] Update website/docs/faqs/Tests/testing-sources.md --- website/docs/faqs/Tests/testing-sources.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/faqs/Tests/testing-sources.md b/website/docs/faqs/Tests/testing-sources.md index c23086a6cc9..5e68b88dcbf 100644 --- a/website/docs/faqs/Tests/testing-sources.md +++ b/website/docs/faqs/Tests/testing-sources.md @@ -9,7 +9,7 @@ id: testing-sources To run tests on all sources, use the following command: ```shell -$ dbt test --select "source:*" + dbt test --select "source:*" ``` (You can also use the `-s` shorthand here instead of `--select`)