# dbt unit tests

> Writes dbt unit tests that mock upstream models and check outputs, so model logic is proven before release.

- Page: https://youraiskill.com/skill/dbt-labs-adding-dbt-unit-test
- What it does: Creates unit test YAML definitions that mock upstream model inputs and validate expected outputs. Use when adding unit tests for a dbt model or practicing test-driven development (TDD) in dbt.
- Niches: data, testing
- Licence: Apache-2.0
- Status: Checked: open licence, author credited, passed the YourAISkill safety scan. Can be added to a paid pack.
- Contents: instructions and reference files only (14 files)

To add it, see https://youraiskill.com/guides/how-to-add-a-skill-to-claude
