adding-dbt-unit-test

Official

Streamline dbt unit tests for models.

Authordbt-labs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Unit tests for dbt models help you verify that transformations produce expected results and prevent regression bugs as your project evolves. They enable test-driven development workflows by codifying input/output expectations.

Core Features & Use Cases

  • Create and run unit tests for dbt models using a YAML schema (unit_tests) and various input formats (dict, csv, sql) with fixtures.
  • Support for advanced scenarios including incremental, ephemeral, versioned models, and macro/variable overrides via overrides.
  • Guidance and references for examples, best practices, and caveats to ensure reliable test coverage.

Quick Start

Install the unit test skill in your project and start writing unit tests for your models using the unit_tests YAML schema.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: adding-dbt-unit-test
Download link: https://github.com/dbt-labs/dbt-agent-skills/archive/main.zip#adding-dbt-unit-test

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.