Che cos'è testing?
Come scrivere i test, quando utilizzare ciascun tipo di test e come eseguirli. Contiene informazioni sulla conversione di `.test` in `.sqltest` e su come scrivere `.sqltest` e test di ruggine Fonte: tursodatabase/turso.
Come scrivere i test, quando utilizzare ciascun tipo di test e come eseguirli. Contiene informazioni sulla conversione di `.test` in `.sqltest` e su come scrivere `.sqltest` e test di ruggine
Installa rapidamente la skill AI testing nel tuo ambiente di sviluppo tramite riga di comando
Fonte: tursodatabase/turso.
| .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...
Campi e comandi stabili per citazioni AI/ricerca.
npx skills add https://github.com/tursodatabase/turso --skill testingCome scrivere i test, quando utilizzare ciascun tipo di test e come eseguirli. Contiene informazioni sulla conversione di `.test` in `.sqltest` e su come scrivere `.sqltest` e test di ruggine Fonte: tursodatabase/turso.
Apri il tuo terminale o strumento da riga di comando (Terminal, iTerm, Windows Terminal, ecc.) Copia ed esegui questo comando: npx skills add https://github.com/tursodatabase/turso --skill testing Dopo l'installazione, la skill verrà configurata automaticamente nel tuo ambiente AI di coding e sarà pronta all'uso in Claude Code, Cursor o OpenClaw
https://github.com/tursodatabase/turso