Skip to content

Commit

Permalink
Merge branch 'current' into ly-docs-azure-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
nghi-ly authored May 7, 2024
2 parents ae3f0dd + c114420 commit 998dd80
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions website/docs/docs/build/unit-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Now, we are introducing a new type of test to dbt - unit tests. In software prog
- 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](#unit-testing-versioned-models) for more information.
- Unit tests must be defined in a YML file in your `models/` directory.
- Table names must be [aliased](/docs/build/custom-aliases) in order to unit test `join` logic.

Read the [reference doc](/reference/resource-properties/unit-tests) for more details about formatting your unit tests.

Expand Down Expand Up @@ -292,6 +293,9 @@ unit_tests:
- {id: 1, first_name: emily}
```
## Known limitations
## Additional resources
- [Unit testing reference page](/reference/resource-properties/unit-tests)
Expand Down

0 comments on commit 998dd80

Please sign in to comment.