> ## 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.

# test

> Run SQL unit tests in isolation.

# sqb test

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

## Usage

```bash theme={null}
sqb --project-dir <path> test [flags]
```

## Flags

| Flag                  | Description                             |
| --------------------- | --------------------------------------- |
| `--no-sql-validation` | Skip compile-time SQL syntax validation |
| `--select`, `-s`      | Select tests targeting specific models  |
| `--exclude`           | Exclude tests targeting specific models |

## Examples

```bash theme={null}
# Run all tests
sqb test

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