Describe the bug
With current implement, when user set a wrong metric (type-missed or any reason), the test always succeed
https://github.com/re-data/dbt-re-data/blob/main/macros/tests/test_metrics.sql#L6
Although it might be by-design feature but reporting the situation as a failure might be more intuitive.
Expected behavior
Report the test as failure when wrong metric is set.
To Reproduce
Run a test with not-existed. For example row_countx instead row_count
Screenshots
Logs and additional context
Describe the bug
With current implement, when user set a wrong metric (type-missed or any reason), the test always succeed
https://github.com/re-data/dbt-re-data/blob/main/macros/tests/test_metrics.sql#L6
Although it might be by-design feature but reporting the situation as a failure might be more intuitive.
Expected behavior
Report the test as failure when wrong metric is set.
To Reproduce
Run a test with not-existed. For example
row_countxinsteadrow_countScreenshots
Logs and additional context