The "unit_test" selection method #5468
Labels
content
Improvements or additions to content
dbt Core
The changes proposed in this issue relate to dbt Core
dbt-core v1.8
improvement
Use this when an area of the docs needs improvement as it's currently unclear
unit testing
docs for 1.8 unit testing
Docs Changes Needed from dbt-core Issue #10053
dbt-labs/dbt-core#10053
Link to the page requiring updates
https://docs.getdbt.com/reference/node-selection/methods
Part(s) of the page to update
There should be a new section called The "unit_test" method. It should be similar to other sections like The "saved_query" method).
Details
We probably only want to include the final "execute a single unit test" example from below within the docs. The other pieces are just to show how someone might discover the identifier of a specific unit test in the first place.
List all resources, including unit tests:
List just the unit test resources:
List a single unit test:
Execute a single unit test:
dbt test --select unit_test:my_project.my_unit_test
The text was updated successfully, but these errors were encountered: