-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[CT-3323] Allow singular tests to be documented #9005
Comments
Since singular tests aren't explicitly linked to models in schema.yml files already, we would need to introduce a new top-level 'tests' resource in order to parse descriptions:
|
Yep - this feels similar to how we handle descriptions for seeds or macros! Only adjustment I would say is
|
Opened a new issue in dbt-labs/docs.getdbt.com: dbt-labs/docs.getdbt.com#6132 |
Description
Currently, you can document pretty much everything but a data test - if you try, it fails on a parsing error. This ticket is for singular data tests. A separate ticket (#2578) addresses generic data tests.
Currently we don't have a "tests" section in schema files. In order to allow setting descriptions in yaml files we should add one. (As a side issue, the SingularTestNodes use the TestConfig, which is not particularly valid for SingularTestNodes. Maybe we need a separate SingularTestConfig.)
https://docs.getdbt.com/docs/build/tests#singular-tests
Acceptance Criteria
Considerations
The text was updated successfully, but these errors were encountered: