[Core] Allow instances of generic data tests to be documented dbt-core #2578 #6293
Labels
content
Improvements or additions to content
dbt Core
The changes proposed in this issue relate to dbt Core
dbt-core v1.9
improvement
Use this when an area of the docs needs improvement as it's currently unclear
At a minimum, update body to include a link to the page on docs.getdbt.com requiring updates and what part(s) of the page you would like to see updated.
Originating from this issue: dbt-labs/dbt-core#2578
Key changes include the addition of a
description
attribute to generic tests, updates to the parser to handle this new attribute, and new functional and unit tests to verify the implementation.Enhancements to Generic Data Tests:
description
attribute to generic tests incore/dbt/parser/generic_test_builders.py
to allow users to provide descriptions for tests, and ensured it is not passed into the test macro or name synthesis.create_test_node
andparse_generic_test
functions incore/dbt/parser/schema_generic_tests.py
to include thedescription
attribute in the test node metadata.The text was updated successfully, but these errors were encountered: