Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.sqlbuild.com/llms.txt

Use this file to discover all available pages before exploring further.

sqb test

Runs SQL unit tests without building models. Useful for validating test logic independently.

Usage

sqb --project-dir <path> test [flags]

Flags

FlagDescription
--no-sql-validationSkip compile-time SQL syntax validation
--select, -sSelect tests targeting specific models
--excludeExclude tests targeting specific models

Examples

# Run all tests
sqb --project-dir examples/waffle_shop test

# Run tests for a specific model
sqb --project-dir examples/waffle_shop test --select stg_orders