Skip to content

Commit

Permalink
Adding name field (#5298)
Browse files Browse the repository at this point in the history
## What are you changing in this pull request and why?

Adding `name` field and removing link from `<test_name>`

See this thread for info:
https://dbt-labs.slack.com/archives/C02NCQ9483C/p1712227179933989

## Checklist
<!--
Uncomment when publishing docs for a prerelease version of dbt:
- [ ] Add versioning components, as described in [Versioning
Docs](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#versioning-entire-pages)
- [ ] Add a note to the prerelease version [Migration
Guide](https://github.com/dbt-labs/docs.getdbt.com/tree/current/website/docs/docs/dbt-versions/core-upgrade)
-->
- [x] Review the [Content style
guide](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/content-style-guide.md)
so my content adheres to these guidelines.
- [ ] For [docs
versioning](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#about-versioning),
review how to [version a whole
page](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#adding-a-new-version)
and [version a block of
content](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#versioning-blocks-of-content).
- [x] Add a checklist item for anything that needs to happen before this
PR is merged, such as "needs technical review" or "change base branch."

Adding or removing pages (delete if not applicable):
- [ ] Add/remove page in `website/sidebars.js`
- [ ] Provide a unique filename for new pages
- [ ] Add an entry for deleted pages in `website/vercel.json`
- [x] Run link testing locally with `npm run build` to update the links
that point to deleted pages
  • Loading branch information
matthewshaver authored Apr 17, 2024
2 parents e27fe17 + 8d465cc commit fa47315
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions website/docs/reference/data-test-configs.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ version: 2
<resource_type>:
- name: <resource_name>
tests:
- [<test_name>](#test_name):
- <test_name>: # # Actual name of the test. For example, dbt_utils.equality
name: # Human friendly name for the test. For example, equality_fct_test_coverage
<argument_name>: <argument_value>
[config](/reference/resource-properties/config):
[fail_calc](/reference/resource-configs/fail_calc): <string>
Expand All @@ -99,7 +100,8 @@ version: 2
[columns](/reference/resource-properties/columns):
- name: <column_name>
tests:
- [<test_name>](#test_name):
- <test_name>:
name:
<argument_name>: <argument_value>
[config](/reference/resource-properties/config):
[fail_calc](/reference/resource-configs/fail_calc): <string>
Expand Down Expand Up @@ -178,7 +180,8 @@ version: 2
<resource_type>:
- name: <resource_name>
tests:
- [<test_name>](#test_name):
- <test_name>: # Actual name of the test. For example, dbt_utils.equality
name: # Human friendly name for the test. For example, equality_fct_test_coverage
<argument_name>: <argument_value>
[config](/reference/resource-properties/config):
[enabled](/reference/resource-configs/enabled): true | false
Expand All @@ -192,7 +195,8 @@ version: 2
[columns](/reference/resource-properties/columns):
- name: <column_name>
tests:
- [<test_name>](#test_name):
- <test_name>:
name:
<argument_name>: <argument_value>
[config](/reference/resource-properties/config):
[enabled](/reference/resource-configs/enabled): true | false
Expand Down

0 comments on commit fa47315

Please sign in to comment.