·testing
</>

testing

tursodatabase/turso

Comment écrire des tests, quand utiliser chaque type de test et comment les exécuter. Contient des informations sur la conversion de « .test » en « .sqltest » et comment écrire « .sqltest » et des tests de rouille

271Installations·5Tendance·@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...

Voir l'original

Faits (prêts à citer)

Champs et commandes stables pour les citations IA/recherche.

Commande d'installation
npx skills add https://github.com/tursodatabase/turso --skill testing
Catégorie
</>Développement
Vérifié
Première apparition
2026-02-01
Mis à jour
2026-02-18

Réponses rapides

Qu'est-ce que testing ?

Comment écrire des tests, quand utiliser chaque type de test et comment les exécuter. Contient des informations sur la conversion de « .test » en « .sqltest » et comment écrire « .sqltest » et des tests de rouille Source : tursodatabase/turso.

Comment installer testing ?

Ouvrez votre terminal ou outil de ligne de commande (Terminal, iTerm, Windows Terminal, etc.) Copiez et exécutez cette commande : npx skills add https://github.com/tursodatabase/turso --skill testing Une fois installé, le skill sera automatiquement configuré dans votre environnement de programmation IA et prêt à être utilisé dans Claude Code ou Cursor

Où se trouve le dépôt source ?

https://github.com/tursodatabase/turso