run-rust-tests

Official

Run Rust tests automatically after changes.

AuthorRediSearch
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Developers often need to verify correctness of Rust changes by running tests, but doing this manually across crates can be slow and error-prone.

Core Features & Use Cases

  • Selective testing: run tests for affected crates only by inspecting modified files.
  • All-crate testing: run the full test suite with a single command.
  • Targeted testing: run tests for a specific crate or a specific test within a crate.
  • Git-aware workflows: map changes to crates using git diff and integrate with cargo nextest.

Quick Start

After modifying Rust code, run the tests with these examples:

  • Run all tests: cd src/redisearch_rs && cargo nextest run
  • Run tests for a specific crate: cd src/redisearch_rs && cargo nextest run -p <crate_name>
  • Run a specific test: cd src/redisearch_rs && cargo nextest run -p <crate_name> <test_name>
  • Run tests for multiple crates: cd src/redisearch_rs && cargo nextest run -p <crate1> -p <crate2>

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: run-rust-tests
Download link: https://github.com/RediSearch/RediSearch/archive/main.zip#run-rust-tests

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.