dbt-labs / dbt-labs/dbt-project-evaluator

Extend find_all_hard_coded_references from models to tests

Open
#549 1 comment 1 reaction 0 assignees View on GitHub
enhancement Stale triage
Dominant language
Shell
Stars
577
Forks
93
Avg merge
9h 46m
Merged PRs (30d)
1

Description

### Describe the feature
Currently one can easily use macro find_all_hard_coded_references to uncover hard-coded references for dbt models. For tests, this doesn't seem to be possible. It would be great to have the possibility to include dbt tests into the macro as well.

### Describe alternatives you've considered
I have tried to change evaluator code to consider both resource types, models AND tests but it didn't pan out.

### Additional context
-

### Who will this benefit?
Anyone who wants to detect any kind of hard-coded references in their dbt project

### Are you interested in contributing this feature?
I would find contribution interesting but I would need some guidance on how to approach the implementation

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.