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

Clarify that tests is backwards compatible to data_tests #5859

Merged
merged 6 commits into from
Aug 1, 2024

Conversation

joellabes
Copy link
Contributor

What are you changing in this pull request and why?

In this Slack thread, someone pointed out to me that we're indicating that backwards compatibility for tests could be removed at some point in the future.

We have no plans to do so, and even if we did decide to do it one day it would go through the behaviour change process, so we don't need to be warning about urgent action or disruption.

Checklist

@joellabes joellabes requested a review from a team as a code owner July 30, 2024 00:01
Copy link

vercel bot commented Jul 30, 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 Aug 1, 2024 10:02pm

@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 Jul 30, 2024
@jtcohen6
Copy link
Collaborator

Thank you @joellabes! I totally agree. I think we should also:

@graciegoheen graciegoheen added the priority: high Technical inaccuracy, missing/incorrect information, or broken links. Negatively affects workflows label Jul 31, 2024
Copy link
Collaborator

@runleonarun runleonarun left a comment

Choose a reason for hiding this comment

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

One tiny suggestion.

website/docs/docs/build/data-tests.md Outdated Show resolved Hide resolved
@@ -306,6 +304,8 @@ data_tests:

</File>

To suppress warnings about the rename, add `TestsConfigDeprecation` to the `silence` block of the `warn_error_options` flag in `dbt_project.yml`, [as described in the Warnings documentation](https://docs.getdbt.com/reference/global-configs/warnings).
Copy link
Collaborator

Choose a reason for hiding this comment

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

We can change this warning name once this issue is addressed dbt-labs/dbt-core#10504

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I checked here, and the TestConfigDeprecation name itself won't change, just the warning message it returns. (Because changing that name would itself be a breaking change!)

@joellabes joellabes enabled auto-merge (squash) August 1, 2024 21:50
@joellabes joellabes merged commit f2541aa into current Aug 1, 2024
10 checks passed
@joellabes joellabes deleted the joellabes-patch-1 branch August 1, 2024 22:02
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 priority: high Technical inaccuracy, missing/incorrect information, or broken links. Negatively affects workflows size: small This change will take 1 to 2 days to address
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants