Skip to content

spawn test build

Usage

spawn test build <name>

Renders a test’s test.sql template into final SQL, resolving component includes and template variables. Outputs to stdout.

  • <name> — The test directory name

Similar to spawn migration build, but for tests. Processes the test.sql template and resolves any component includes or template logic.

Terminal window
spawn test build user-creation

Options

Option Description
--target <name> Select which target from spawn.toml to use.
--config-file <path> Path to config file. Defaults to spawn.toml.
-d, --debug Turn on debug output.