# Adding dbt Unit Test

> Unit test YAML mocking upstream model inputs

**Subcategory:** dbt  
**License:** Apache-2.0  
**Source:** https://github.com/dbt-labs/dbt-agent-skills/blob/main/skills/dbt/skills/adding-dbt-unit-test/SKILL.md

---

## When it is useful

Create unit test YAML definitions that mock upstream model inputs and validate outputs.

## The Catch

Loud: $0 forever path is dbt Core OSS Apache-2.0 (local/self-host). Platform Developer Free forever is real but capped (1 seat / 1 project / 3k successful models/mo); Starter $100/user/mo. Semantic Layer advanced is Cloud-paid — do not pitch Platform as the free hatch. Distinct from Flyte CD / ZenML CA. Skills Apache-2.0.
