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

Custom data test blocks #2274

Closed
drewbanin opened this issue Mar 31, 2020 · 2 comments
Closed

Custom data test blocks #2274

drewbanin opened this issue Mar 31, 2020 · 2 comments
Labels
enhancement New feature or request stale Issues that have gone stale

Comments

@drewbanin
Copy link
Contributor

Describe the feature

dbt should provide a first-class block for custom data tests. This would allow tests to be configured alongside models, for instance.

Example syntax:

{% test my_test_name %}

{{ config(...) }}

select ...

{% endtest %}

Beyond the addition of this tag, custom data tests should remain working how they have historically worked.

@drewbanin drewbanin added enhancement New feature or request 1.0.0 Issues related to the 1.0.0 release of dbt labels Mar 31, 2020
@drewbanin drewbanin mentioned this issue Mar 31, 2020
11 tasks
@clrcrl
Copy link
Contributor

clrcrl commented Jun 1, 2020

Note that this is the same syntax you've described for schema tests in #1173

@jtcohen6 jtcohen6 removed the 1.0.0 Issues related to the 1.0.0 release of dbt label Sep 10, 2020
@drewbanin drewbanin mentioned this issue Sep 10, 2020
@jtcohen6 jtcohen6 mentioned this issue Oct 14, 2021
4 tasks
@github-actions
Copy link
Contributor

This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please remove the stale label or comment on the issue, or it will be closed in 7 days.

@github-actions github-actions bot added the stale Issues that have gone stale label Nov 26, 2021
@github-actions github-actions bot closed this as completed Dec 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stale Issues that have gone stale
Projects
None yet
Development

No branches or pull requests

3 participants