testing

Automate and standardize Rust project testing workflows across unit, integration, and fuzz tests.

23.8k|1.2k|Updated Aug 26, 2023
One-click install
npx skills add https://github.com/tursodatabase/turso --skill testing-tursodatabase
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing
Source: https://github.com/tursodatabase/turso/tree/main/.claude/skills/testing
Command: npx skills add https://github.com/tursodatabase/turso --skill testing-tursodatabase

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill standardizes and streamlines the testing workflow for Rust projects, reducing setup overhead and ensuring consistent test results.

Core Features & Use Cases

  • Understands and organizes test types (unit, integration, fuzz) across testing/ directories.
  • Converts TCL .test to .sqltest formats and coordinates with the SQL test runner.
  • Provides clear guidance on running tests with cargo test, make test, and related tooling.

Quick Start

  • Install the Rust toolchain if you haven't already.
  • Run the main test suite: make test
  • Learn how to convert TCL tests to SQL tests with cargo run -- convert <TCL_test_path> -o <out_dir>

Frequently Asked Questions about testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert TCL test files to sqltest format for Rust projects?

Convert TCL test files to sqltest format by running cargo run -- convert <TCL_test_path> -o <out_dir>. This standardizes your testing workflows and coordinates with the SQL test runner tooling for Rust projects.

What is the best way to run unit, integration, and fuzz tests in Rust?

Run unit, integration, and fuzz tests using make test or cargo test. This approach organizes test types across testing/ directories and standardizes the workflow for consistent test results.

Do I need the Rust toolchain to use cargo test and make test commands?

Yes, you need the Rust toolchain installed to execute cargo test and make test commands. Installing the toolchain provides the necessary environment to run the main test suite and convert TCL tests.

Does this testing workflow support fuzz tests alongside unit and integration tests?

Yes, this testing workflow supports fuzz tests alongside unit and integration tests. It understands and organizes all three test types across your testing/ directories for Rust projects.

Why convert TCL .test files to .sqltest format in a Rust testing directory?

Converting TCL .test files to .sqltest format standardizes your testing workflow and enables coordination with the SQL test runner. This conversion reduces setup overhead and ensures consistent test results.