Skip to content
T

testing

How to write tests, when to use each type of test, and how to run them

by tursodatabaseFree

#2873in AI Skills
0In stores

Description

Testing is an agent skill that explains how to write and run tests for the Turso database. It sets out the four test types and when to use e…

Highlights

  • Guide to four test types and where they live
  • Preferred .sqltest suites for SQL compatibility
  • Guidance for converting .test files
  • Runs the main suite with make test

Ratings & Reviews

No ratings yet

Be the first to rate testing.

People also visit

D

differential-fuzzer

Information about the differential fuzzer tool

AI Skills
Get
D

debugging

How to debug tursodb using Bytecode comparison, logging, ThreadSanitizer

AI Skills
Get
C

creating-oracle-to-postgres-migration-integration-tests

Creates integration test cases targeting Oracle for .NET data access artifacts

AI Skills
Get
T

turso-cloud

Turso Cloud — fully managed SQLite-compatible database platform

AI Skills
Get
T

test

Run /test to write a test suite for code you just built or changed

AI Skills
Get
S

scaffolding-oracle-to-postgres-migration-test-project

Scaffolds an xUnit integration test project targeting Oracle in .NET solutions

AI Skills
Get

testing FAQ

What test types exist?

.sqltest suites for SQL compatibility, legacy TCL .test files, Rust integration tests, and fuzz tests.

Which format should new tests use?

The .sqltest format in the conformance suites is preferred for new tests, because one case can run against multiple backends.

How do I run the main suite?

Run make test, which includes the TCL compatibility tests, the sqlite3 compatibility tests and the Python wrappers.

Are TCL tests going away?

The skill says TCL tests are being phased out in favor of the .sqltest suites.

How do I install it?

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

What security audits has it passed?

skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.

What are the best testing alternatives?

Popular alternatives to testing include differential-fuzzer, debugging and creating-oracle-to-postgres-migration-integration-tests. See all testing alternatives

Developer Stuff

Badges