dbt-labs / dbt-utils

Utility functions for dbt projects.
https://hub.getdbt.com/dbt-labs/dbt_utils/latest/
Apache License 2.0
1.36k stars 491 forks source link

add description tag to test definition #882

Open maares opened 6 months ago

maares commented 6 months ago

Describe the feature

Would like to add description to tests.

tests:
  - dbt_utils.expression_is_true:
      name: test_name
      description: “test_description"
      expression: '= X'
      config:
        where: “X= N"

Describe alternatives you've considered

Using name as declarative as possible of whats being tested is not enough.

Additional context

As the package can store test results in database, table description would be nice.

Who will this benefit?

Better understanding for any test being executed. Normally 6 months after deployment no dev-team members remembers the why. Having a more declarative way of the intent on test will help maintainability in the long run

Are you interested in contributing this feature?

Have never contributed, and not even know where to start, if some guidance is given then definitely.

github-actions[bot] commented 6 days ago

This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please comment on the issue or else it will be closed in 7 days.

perlego-maares commented 5 days ago

shaking