duckdb-slt-0.1.9 is not a library.
duckdb-slt
A Rust-based sqllogictest runner for DuckDB.
Install
Or using binary install:
Usage
Run one or more sqllogictest files:
Run using a glob pattern
Set a working directory for resolving relative paths:
Enable extensions before running tests:
Short forms:
Run an extension's integration tests (example extension: quack):
Show help and version:
CLI
Options:
--db <PATH>: DuckDB database file path (defaults to in-memory)-u, --allow-unsigned-extensions: allow loading unsigned DuckDB extensions (risky; opt-in)-e, --extensions <EXT>: enable extensions before running tests (repeatable)-w, --workdir <DIR>: set working directory before resolving relative paths--fail-fast: stop after the first test mismatch
Extensions
Each --extensions <EXT> entry runs INSTALL then LOAD, in command-line order.
Supported forms:
json(name)spatial@community(named repository)custom_extension@https://my-extension-repo.example(custom repository URL)path/to/ext.duckdb_extension(local extension file)
Compatibility Notes
Not all keywords/directives added in duckdb-sqllogictest-python are supported.
duckdb-slt currently supports:
require(only attempts toLOAD; installation is done via the extensions option)skipif(record is skipped when the target isduckdb)onlyif(record is skipped when the target is notduckdb)
Exit Codes
0: all tests passed2: at least one test failed due to an expectation mismatch1: runtime error (I/O error, DuckDB error, invalid configuration, invalid CLI usage)
License
MIT. See LICENSE.