-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dbt): implement subsetting to execute dbt tests (#16801)
## Summary & Motivation Add the ability to select individual dbt tests when subsetting the execution of a dbt project. Now that users can explicitly select for both tests and models, we should disable dbt's indirect selection: https://docs.getdbt.com/reference/node-selection/test-selection-examples?indirect-selection-mode=empty#indirect-selection. dbt's indirect selection basically controls whether tests are automatically run when a dbt model is built. Previously, in the case for `dbt build`, all tests associated with a dbt model would be run if the model is materialized. Now, we only run the tests that were explicitly selected and are available in the asset definition's context. ## How I Tested These Changes local, pytest
- Loading branch information
1 parent
acd3bf4
commit 22e0e1e
Showing
3 changed files
with
70 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters