rust-testing

Identify untested paths in Rust projects using cargo tarpaulin.

10|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/mikeleppane/tursotui --skill rust-testing-mikeleppane
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust-testing
Source: https://github.com/mikeleppane/tursotui/tree/main/.claude/skills/rust-testing
Command: npx skills add https://github.com/mikeleppane/tursotui --skill rust-testing-mikeleppane

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Rust projects often suffer from blind spots in test coverage, leaving critical paths untested and fragile when refactors occur. This skill analyzes coverage gaps, identifies edge cases, and guides you to write tests that close those gaps using cargo-tarpaulin and established Rust testing conventions.

Core Features & Use Cases

  • Coverage analysis with cargo-tarpaulin to quantify tested vs. untested lines across crates.
  • Edge-case discovery focused on public APIs, error paths, and boundary conditions to maximize risk reduction.
  • Generated test recommendations and practical templates aligned to Rust projects' structure and conventions.

Quick Start

Ask the skill to analyze current coverage and propose tests to improve it.

Frequently Asked Questions about rust-testing

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

FAQPage Schema
How do I find untested paths in my Rust project?

Finding untested paths in a Rust project involves auditing test suites and quantifying coverage gaps with cargo tarpaulin. This reports uncovered lines and functions across public API surfaces and error handling paths.

What is the best way to improve Rust test coverage for edge cases?

Improving Rust test coverage for edge cases requires analyzing coverage deltas and generating targeted test templates. This focuses on boundary conditions, error paths, and public APIs across unit and integration tests.

Can cargo tarpaulin be used for integration test coverage in Rust?

Cargo tarpaulin can be used to quantify tested versus untested lines for integration test coverage in Rust. It audits test suites and reports coverage gaps across varying crate sizes.

How do I generate test templates for uncovered functions in Rust?

Generating test templates for uncovered functions in Rust requires auditing existing test suites to find coverage gaps and producing actionable templates. These templates align with Rust project structures and conventions.

Does Rust test coverage analysis work for small and large crates?

Rust test coverage analysis is applicable to crates of varying sizes. It audits test suites and reports uncovered lines and functions to maximize risk reduction regardless of the project scale.