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

Remove deprecation warnings for tests to data_tests configs #10564

Closed
gshank opened this issue Aug 13, 2024 · 1 comment · Fixed by #10670
Closed

Remove deprecation warnings for tests to data_tests configs #10564

gshank opened this issue Aug 13, 2024 · 1 comment · Fixed by #10670
Assignees

Comments

@gshank
Copy link
Contributor

gshank commented Aug 13, 2024

Description

We are not going to actually deprecate the use of the "tests:" config. Although we prefer "data_tests:" because it's more precise and less confusing, and contrasts more logically with our newer "unit_tests:" definitions, the use of "tests:" will continue to work, so we should remove the actual deprecation warning.

Instead we will move this to the project auditing feature: dbt-labs/dbt-project-evaluator#489

Acceptance Criteria

No more warnings are issued and people who have set up a "warn_error_options" config for TestsConfigDeprecation do not get errors.

@jschintz-nytimes
Copy link

At least make an easy way to identify tests vs data_tests

I'd love to be able to run something like
dbt ls --resource-type test --exclude-resource-type data_test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants