Run Tests

Run tests to verify correctness after code changes. Use when the user asks to run tests, verify changes, or check that things still work. Runs Rust unit tests and integration tests.

lalitmaganti Updated
The syntaqlite playground: a query with a typo in a column name, its formatted output, and the error "unknown column 'nme'" with the suggestion "did you mean 'n

File contents

run-tests

Run tests to verify correctness after code changes.

Instructions

  1. Run Rust unit tests:

    tools/run-unit-tests
    
  2. Run integration tests:

    tools/run-integration-tests
    

    You can also run a specific suite:

    tools/run-integration-tests --suite ast
    tools/run-integration-tests --suite fmt
    tools/run-integration-tests --suite perfetto-fmt
    tools/run-integration-tests --suite perfetto-val
    tools/run-integration-tests --suite amalg
    tools/run-integration-tests --suite grammar
    

    Use tools/run-integration-tests --list to see all available suites.

  3. Report results to the user, including any failures with relevant output.

lalitmaganti/syntaqlite commit 87c3aac543

Frequently asked questions

npx get-skill add lalitmaganti/run-tests