testing
✓如何编写测试、何时使用每种类型的测试以及如何运行它们。包含有关将 `.test` 转换为 `.sqltest` 以及如何编写 `.sqltest` 和 rust 测试的信息
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...
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/tursodatabase/turso --skill testing- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 testing?
如何编写测试、何时使用每种类型的测试以及如何运行它们。包含有关将 `.test` 转换为 `.sqltest` 以及如何编写 `.sqltest` 和 rust 测试的信息 来源:tursodatabase/turso。
如何安装 testing?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/tursodatabase/turso --skill testing 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/tursodatabase/turso
详情
- 分类
- </>开发工具
- 来源
- skills.sh
- 收录时间
- 2026-02-01