协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
run-rust-tests【开发与工程】Run Rust tests after making changes to verify correctness
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Run Rust tests after making changes to verify correctness.
all: Run all Rust tests<crate>: Run tests for specific crate (e.g., /rust-test hyperloglog)<crate> <test>: Run specific test in crate (e.g., /rust-test hyperloglog test_merge)Arguments provided: $ARGUMENTS
Run this skill after modifying Rust code to ensure tests pass.
src/redisearch_rs/ using git status and git diff --name-onlysrc/redisearch_rs/, e.g., src/redisearch_rs/hyperloglog/src/lib.rs → hyperloglog)cd src/redisearch_rs && cargo nextest run -p <crate1> -p <crate2> ...
src/redisearch_rs/, or if you cannot determine affected crates, run all testsall is provided, run all Rust tests:
cd src/redisearch_rs && cargo nextest run
cd src/redisearch_rs && cargo nextest run -p <crate_name>
cd src/redisearch_rs && cargo nextest run -p <crate_name> <test_name>
# Test specific crate
cd src/redisearch_rs && cargo nextest run -p hyperloglog
cd src/redisearch_rs && cargo nextest run -p inverted_index
cd src/redisearch_rs && cargo nextest run -p trie_rs
# Run a specific test
cd src/redisearch_rs && cargo nextest run -p <crate_name> <test_name>
# Run tests under miri (for undefined behavior detection)
cd src/redisearch_rs && cargo +nightly miri test