-
-
Notifications
You must be signed in to change notification settings - Fork 134
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
[Feature Request] Enable description tag for tests #313
Comments
Hi @ChrisGutknecht, thanks for pointing this out. I'm not familiar with the test tag feature. How would we implement this for our tests? |
Thanks @clausherther. Generic tests can be enhanced like this with a
Currently we can only enhance dbt expectation tests like this with code comments, see
Currently, the important "why" context is added in comments, but these comments can not be surfaced beyond the code layer such as dbt explore. Ideally we could add a
Does that make it more clear? |
That makes sense re: usage, but I'm not sure how that would be implemented in each test. Does that mean each test has to take a |
e.g. I don't see |
Is your feature request related to a problem? Please describe.
dbt expectations are often more specific and complex than dbt generic tests. While dbt generic tests allow a description field for tests, dbt expectations tests don't allow this tag.
Describe the solution you'd like
A dbt expectations test should support a test tag. This would allow the text to be populated in the description section of dbt explore and the docs generate artifacts.
Describe alternatives you've considered
Enriching the model descriptions is not ideal, custom tags or meta flags are not as visible in dbt explore.
Additional context
Test descriptions help easier debugging and evaluating test failures across the entire teams with much more context.
The text was updated successfully, but these errors were encountered: