·testing
</>

testing

tursodatabase/turso

How to write tests, when to use each type of test, and how to run them. Contains information about conversion of `.test` to `.sqltest`, and how to write `.sqltest` and rust tests

271Installs·5Trend·@tursodatabase

Installation

$npx skills add https://github.com/tursodatabase/turso --skill testing

SKILL.md

| .sqltest | turso-test-runner/tests/ | SQL compatibility. Preferred for new tests | | TCL .test | testing/ | Legacy SQL compat (being phased out) | | Rust integration | tests/integration/ | Regression tests, complex scenarios | | Fuzz | tests/fuzz/ | Complex features, edge case discovery |

Note: TCL tests are being phased out in favor of turso-test-runner. The .sqltest format allows the same test cases to run against multiple backends (CLI, Rust bindings, etc.).

You must start converting TCL tests with the convert command from the test runner (e.g cargo run -- convert -o ). It is not always accurate, but it will convert most of the tests. If some conversion emits a warning you will have to write by hand whatever is missing from it (e.g unroll a for each loop by hand). Then you need to verify the tests work by running them with make -C turso-test-runner run-rust, and adjus...

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/tursodatabase/turso --skill testing
Category
</>Dev Tools
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is testing?

How to write tests, when to use each type of test, and how to run them. Contains information about conversion of `.test` to `.sqltest`, and how to write `.sqltest` and rust tests Source: tursodatabase/turso.

How do I install testing?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/tursodatabase/turso --skill testing Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/tursodatabase/turso