Run Tests

Build and run DuckDB extension tests. Supports running all tests or a specific test file.

ila Updated

File contents

Instructions

  1. Build if needed: GEN=ninja make 2>&1 | tail -5
  2. Run all tests: make test 2>&1
    • Or a specific test: build/release/test/unittest "test/sql/<test_name>.test" 2>&1
  3. Report: number of assertions passed/failed
  4. If any fail, show the failing test name and expected vs actual values
  5. If a test crashes (segfault, abort), investigate the crash — never skip or remove the test

ila/duckdb-claude-skills/tree/main/run-tests commit 574ff7e03a

Frequently asked questions

npx skillmds@latest add ila/run-tests