Skip to content

Commit

Permalink
Update instructions on documenting a singular test (#6363)
Browse files Browse the repository at this point in the history
## What are you changing in this pull request and why?
Prompted from [this
thread](https://dbt-labs.slack.com/archives/C012TTNN0JK/p1729143266268959),
the instructions on documenting a test talk about _creating_ a new test
in yaml which isn't right

---------

Co-authored-by: Leona B. Campbell <[email protected]>
  • Loading branch information
joellabes and runleonarun authored Oct 28, 2024
1 parent b3ba200 commit d6201f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/docs/build/data-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ having total_amount < 0

The name of this test is the name of the file: `assert_total_payment_amount_is_positive`.

To add a data test to your project, add a `.yml` file to your `tests` directory, for example, `tests/schema.yml` with the following content:
To add a description to a singular test in your project, add a `.yml` file to your `tests` directory, for example, `tests/schema.yml` with the following content:

<File name='tests/schema.yml'>

Expand Down

0 comments on commit d6201f0

Please sign in to comment.