https://meltano.com/ logo
#announcements
Title
# announcements
s

stale-crayon-83563

04/14/2021, 6:53 PM
in snowflake, i want to test stored procedure for outputs
s

salmon-actor-23953

04/14/2021, 7:26 PM
@stale-crayon-83563 - I’m not sure I follow your use case. Do you mind saying a bit more about what you are trying to do?
s

stale-crayon-83563

04/14/2021, 7:27 PM
I have a very complex stored procedure that joins a ton of data together on demand, I want to run through many test cases before new changes can be deployed
someone suggested to me DBT unit tests
s

salmon-actor-23953

04/14/2021, 7:29 PM
Ah yes. Got it. Yes, you’ll want dbt schema tests and/or data tests: https://docs.getdbt.com/docs/building-a-dbt-project/tests
Those could then be run by something like
meltano invoke dbt test …
(Might not have my syntax exactly correct but that’s the basic idea.)