Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CLI option to exclude specific schema/custom tests #1586

Closed
jmak123 opened this issue Jul 3, 2019 · 2 comments
Closed

Add CLI option to exclude specific schema/custom tests #1586

jmak123 opened this issue Jul 3, 2019 · 2 comments

Comments

@jmak123
Copy link

jmak123 commented Jul 3, 2019

Please make sure to fill out either the issue template or the feature template and delete the other one!

Feature

Add CLI option to exclude specific schema/custom tests

Feature description

Currently dbt does not allow using tags with tests. Suggest adding functionality to tag tests like model to allow using exclude in dbt test.
Also recommend modifying existing dbt compile output behaviour to generate names (and scripts) of tests in folder target so users can access those names and use exclude on them more easily.

Who will this benefit?

Some tests take significant time to complete and adding tags functionality would give users more flexibility with test scheduling.

@drewbanin
Copy link
Contributor

Thanks for making this issue @jmak123! Check out this semi-related discussion: https://discourse.getdbt.com/t/pre-proposal-column-tags/433/4

@beckjake
Copy link
Contributor

beckjake commented Feb 4, 2020

Fixed in #2039 - added tags on columns (which push down to all tests for a given column) and tests themselves.

@beckjake beckjake closed this as completed Feb 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants