Skip to main content

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 test

# Run tests for a specific model
sqb test --select stg_orders