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.
Arguments
Section titled “Arguments”<name>— The test directory name
Behavior
Section titled “Behavior”Similar to spawn migration build, but for tests. Processes the test.sql template and resolves any component includes or template logic.
Example
Section titled “Example”spawn test build user-creationOptions
| 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. |