You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can select unit tests using state:modified for changes to existing models.
In addition we'd like to be able to select unit tests that have changed using state:modified.
Changes include:
Definition of the unit test
Changes to the inputs(ie: fixtures)
Changes to the logic of the model the unit test is for (depending on indirect_selection config)
Acceptance Criteria
Change only the contents of a unit test definition, and do dbt unit-test --select state:modified and the changed unit test should run.
Change the SQL for a given model and do dbt unit-test --select state:modified, the unit test on the changed model should run (depending on indirect_selection config)
Impact to other teams
None
Will backports be required?
No
Context
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
Enable use of state:modified for detecting changed unit tests
[CT-3046] Enable use of state:modified for detecting changed unit tests
Aug 30, 2023
Description
We can select unit tests using
state:modified
for changes to existing models.In addition we'd like to be able to select unit tests that have changed using
state:modified
.Changes include:
Acceptance Criteria
Change only the contents of a unit test definition, and do
dbt unit-test --select state:modified
and the changed unit test should run.Change the SQL for a given model and do
dbt unit-test --select state:modified
, the unit test on the changed model should run (depending on indirect_selection config)Impact to other teams
None
Will backports be required?
No
Context
The text was updated successfully, but these errors were encountered: