dbt test

Executes tests defined in a project

Options

NameDescription
-x, --fail-fastExit immediately if a single model fails to build
--profiles-dir <directory>Set the profiles directory
--profile <name>Select the profile to use
--dataRun only custom data tests
--schemaRun only schema tests
-s, --select <subset...>Select subset of models
--exclude <subset...>Exclude subset of models
--bypass-cacheBypass the cache
--selector <YAML selector file name...>This flag specifies one or more named selectors, defined in a <selector name>.yml file
--deferDefer