Programowanie · Testowanie
run-rust-tests
/run-rust-tests
Uruchamia testy Rust po zmianach w kodzie, żeby sprawdzić ich poprawność.
Dla kogo
- Autor
- RediSearch ↗
- Repozytorium
- RediSearch ↗
- Licencja
- AGPL-3.0
- Ostatnia zmiana repozytorium
- 27.10.2026
Ocena i bezpieczeństwo
100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Przestarzałość
Brak sygnałów. Repozytorium zmienione 27.10.2026, bez odwołań do wycofanych modeli i API.
Licencja
AGPL-3.0, copyleft: przeróbki udostępniane innym muszą mieć tę samą licencję.
Co robi i kiedy
Uruchamia testy Rust po zmianach w kodzie, żeby sprawdzić ich poprawność.
Oryginalny opis (EN)
Run Rust tests after making changes to verify correctness. Use this when you want to verify your changes to Rust code.
Jak działa
- Arguments
- Usage
- Instructions
- Common Test Commands
Sekcje z nagłówków SKILL.md, w oryginale · 59 linii, 304 słów
Podgląd SKILL.md
---
name: run-rust-tests
description: Run Rust tests after making changes to verify correctness. Use this when you want to verify your changes to Rust code.
---
# Rust Test Skill
Run Rust tests after making changes to verify correctness.
## Arguments
- No arguments: Analyze changes and run tests for affected crates only
- `all`: Run all Rust tests
- `<crate>`: Run tests for specific crate (e.g., `/run-rust-tests hyperloglog`)
- `<crate> <test>`: Run specific test in crate (e.g., `/run-rust-tests hyperloglog test_merge`)
Arguments provided: `$ARGUMENTS`
## Usage
Run this skill after modifying Rust code to ensure tests pass.
## Instructions
1. Check the arguments provided above:
- If arguments are empty, determine affected crates:
1. Check which files were modified in `src/redisearch_rs/` using `git status` and `git diff --name-only`
2. Map each modified file to its crate (the directory name directly under `src/redisearch_rs/`, e.g., `src/redisearch_rs/hyperloglog/src/lib.rs` → `hyperloglog`)
3. Run tests for each affected crate:
```bash
cargo nextest run --manifest-path src/redisearch_rs/Cargo.toml -p <crate1> -p <crate2> ...
```
4. If no Rust files were modified in `src/redisearch_rs/`, or if you cannot determine affected crates, run all tests
- If `all` is provided, run all Rust tests:
```bash
cargo nextest run --manifest-path src/redisearch_rs/Cargo.toml
```
- If a crate name is provided, run tests for that crate:
```bash
cargo nextest run --manifest-path src/redisearch_rs/Cargo.toml -p <crate_name>
```
- If both crate and test name are provided, run the specific test:
```bash
cargo nextest run --manifest-path src/redisearch_rs/Cargo.toml -p <crate_name> <test_name>
```
2. If tests fail:
- Read the error output carefully
- Fix the failing tests or the code causing failures
- Re-run tests to verify the fix
## Common Test Commands
```bash
# Test specific crate
cargo nextest run --manifest-path src/redisearch_rs/Cargo.toml -p hyperloglog
cargo nextest run --manifest-path src/redisearch_rs/Cargo.toml -p inverted_index
cargo nextest run --manifest-path src/redisearch_rs/Cargo.toml -p trie_rs
# Run a specific test
cargo nextest run --manifest-path src/redisearch_rs/Cargo.toml -p <crate_name> <test_name>
# Run tests under miri (for undefined behavior detection)
cargo +nightly miri test --manifest-path src/redisearch_rs/Cargo.toml
```
Wersje
W bazie nie ma innych skilli o nazwie run-rust-tests.
Migawka bazy z 28.10.2026 · wersja paczki 4af3a7867668 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100run-c-unit-tests
Uruchamia testy jednostkowe C i C++, żeby sprawdzić poprawność po zmianach w kodzie. - 90write-rust-tests
Pisze testy w języku Rust, które sprawdzają poprawność kodu i zachowanie funkcji w projekcie. - 100run-tests
Uruchamia testy, clippy i sprawdzenie formatowania w projekcie Rust, żeby potwierdzić poprawność zmian przed zatwierdzeniem. - 92rust-skills
Wspiera programowanie systemowe i wysokowydajne w języku Rust. - 100rust-testing
Pomaga pisać i uruchamiać testy w Rust przez cargo test: jednostkowe, integracyjne, doc testy i oparte na własnościach, oraz konfigurować infrastrukturę testową. - 100rust
Daje przegląd języka Rust: pisanie kodu, zakładanie projektów i typowe przepływy pracy w rozwoju w Rust.