diff --git a/core/dbt/parser/generic_test_builders.py b/core/dbt/parser/generic_test_builders.py index afcf24e6808..2e4d9588e25 100644 --- a/core/dbt/parser/generic_test_builders.py +++ b/core/dbt/parser/generic_test_builders.py @@ -273,6 +273,10 @@ def __init__( self.fqn_name: str = "" if "name" in self.args: + # TODO: Should we append the model name to the test name here? + # Or trust the user to have globally unique names within their project? + # Logic like this, with accounting for source table targets: + # generic_test_name = f"{self.args["name"]}_{target.name}" self.compiled_name = self.args["name"] self.fqn_name = self.args["name"] del self.args["name"]