Skip to content

Commit

Permalink
Update data-tests.md
Browse files Browse the repository at this point in the history
add clarifying info based on user feedback in training workshop
  • Loading branch information
mirnawong1 authored Nov 19, 2024
1 parent 3a24380 commit cd414c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docs/docs/build/data-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ Defining data tests is a great way to confirm that your outputs and inputs are a
If you're new to dbt, we recommend that you check out our [quickstart guide](/guides) to build your first dbt project with models and tests.
:::

## Singular data tests
## Singular data tests for me

The simplest way to define a data test is by writing the exact SQL that will return failing records. We call these "singular" data tests, because they're one-off assertions usable for a single purpose.
The simplest way to define a data test is by writing the exact SQL that will return failing records. We call these "singular" data tests, because they're one-off assertions usable for a single purpose. I can type here and add clarifying info.

These tests are defined in `.sql` files, typically in your `tests` directory (as defined by your [`test-paths` config](/reference/project-configs/test-paths)). You can use Jinja (including `ref` and `source`) in the test definition, just like you can when creating models. Each `.sql` file contains one `select` statement, and it defines one data test:

Expand Down

0 comments on commit cd414c5

Please sign in to comment.