spawn test new
Usage
spawn test new <name> Creates a new test directory with a template test.sql file.
Arguments
Section titled “Arguments”<name>— A descriptive name for the test
Behavior
Section titled “Behavior”Creates a directory at tests/<name>/ with a test.sql template for writing SQL test scenarios.
Example
Section titled “Example”spawn test new 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. |