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

Updated singular tests section to show they can now be documented #6147

Closed
wants to merge 22 commits into from

Conversation

nataliefiann
Copy link
Contributor

@nataliefiann nataliefiann commented Sep 25, 2024

Resolves #6132

What are you changing in this pull request and why?

The description property is available for singular data tests beginning in dbt v1.9, and this PR highlights how singular tests can now be documented.

🎩 Previews

Checklist

@nataliefiann nataliefiann requested a review from a team as a code owner September 25, 2024 12:47
Copy link

vercel bot commented Sep 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
docs-getdbt-com ✅ Ready (Inspect) Visit Preview Oct 1, 2024 8:56am

@github-actions github-actions bot added content Improvements or additions to content size: small This change will take 1 to 2 days to address labels Sep 25, 2024
Copy link
Contributor

@mirnawong1 mirnawong1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks @nataliefiann ! note, i would recommend writing 'Resolves # issue_number' in the pr description. this will automatically close the related issue once the pr is merged. in this case, the issue is #6132

Copy link
Collaborator

@graciegoheen graciegoheen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a heads up - we had to rollback this change. Kshitij is working on a fix, but we should hold off on merging this until that is complete.

See -> dbt-labs/dbt-core#9005

website/docs/docs/build/data-tests.md Outdated Show resolved Hide resolved
website/docs/docs/build/data-tests.md Outdated Show resolved Hide resolved
@nataliefiann
Copy link
Contributor Author

Log: moving this blocked in Kanban until status update from engineering

…ning in dbt v1.9, so add a tab with a code example
@github-actions github-actions bot added size: medium This change will take up to a week to address and removed size: small This change will take 1 to 2 days to address labels Sep 30, 2024
@dbeatty10 dbeatty10 marked this pull request as draft September 30, 2024 23:44
@dbeatty10 dbeatty10 requested a review from graciegoheen October 1, 2024 03:55
@dbeatty10 dbeatty10 marked this pull request as ready for review October 1, 2024 03:59
Copy link
Contributor

@mirnawong1 mirnawong1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm and i think it's good to merge since PR 10792 has been merged @dbeatty10

@nataliefiann
Copy link
Contributor Author

Closed off as Core project has been paused

@dbeatty10
Copy link
Contributor

Moved to #6191

dbeatty10 added a commit that referenced this pull request Oct 1, 2024
Resolves #6132
Originally #6147

## What are you changing in this pull request and why?

The `description` property is available for singular data tests
beginning in dbt v1.9, and this PR highlights how singular tests can now
be documented.

### 🎩 Previews
-
[`description`](https://docs-getdbt-com-git-dbeatty-6132-docs-dbt-labs.vercel.app/reference/resource-properties/description)
-
[`docs-paths`](https://docs-getdbt-com-git-dbeatty-6132-docs-dbt-labs.vercel.app/reference/project-configs/docs-paths)
- [documentation
placement](https://docs-getdbt-com-git-dbeatty-6132-docs-dbt-labs.vercel.app/docs/build/documentation#placement)

### Additional information

Opened #6193 since we
don't have documentation how to add a `description` for the Jinja macro
associated with custom generic tests. This follow-up will allow us to
consider the `description` of both generic and singular data tests in
context of each other.


## Checklist
- [x] I have reviewed 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.
- [x] The topic I'm writing about is for specific dbt version(s) and I
have versioned it according to the [version a whole
page](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#adding-a-new-version)
and/or [version a block of
content](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#versioning-blocks-of-content)
guidelines.
- [x] Wait until dbt-labs/dbt-core#10792 is
merged
- [x] 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)

---------

Co-authored-by: Natalie Fiann <[email protected]>
Co-authored-by: nataliefiann <[email protected]>
Co-authored-by: Mirna Wong <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content Improvements or additions to content size: medium This change will take up to a week to address
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Core] Singular data tests can now be documented
4 participants