Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

We currently don't support unit testing models that use the materialized view materialization #5986

Merged
merged 6 commits into from
Aug 29, 2024
1 change: 1 addition & 0 deletions website/docs/docs/build/unit-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ With dbt Core v1.8 and dbt Cloud environments that have gone versionless by sele

- We currently only support unit testing SQL models.
- We currently only support adding unit tests to models in your _current_ project.
- We currently _don't_ support unit testing models that use the [`materialized view`](/docs/build/materializations#materialized-view) materialization.
- We currently *don't* support unit testing models that use recursive SQL.
dbeatty10 marked this conversation as resolved.
Show resolved Hide resolved
- You must specify all fields in a BigQuery STRUCT in a unit test. You cannot use only a subset of fields in a STRUCT.
- If your model has multiple versions, by default the unit test will run on *all* versions of your model. Read [unit testing versioned models](/reference/resource-properties/unit-testing-versions) for more information.
Expand Down
Loading