Skip to main content

How do I run data tests on just my sources?

To run data tests on all sources, use the following command:

  dbt test --select "source:*"

(You can also use the -s shorthand here instead of --select)

To run data tests on one source (and all of its tables):

$ dbt test --select source:jaffle_shop

And, to run data tests on one source table only:

$ dbt test --select source:jaffle_shop.orders

Was this page helpful?

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

0