원클릭으로
test-runner
Execute Rust tests (unit, integration, doc). Use cargo nextest for fast parallel execution.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Execute Rust tests (unit, integration, doc). Use cargo nextest for fast parallel execution.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Checkpoint episodes and create handoff packs for multi-agent session continuity
Configure, test, benchmark, and manage embedding providers for semantic search and vector operations
Create and traverse typed relationships between episodes for dependency tracking and knowledge graphs
Manage episode tags for organization, filtering, and retrieval across the memory system
Generate task playbooks and explain patterns using learned strategies from episodic memory
Record and analyze recommendation sessions and feedback to drive the self-learning loop
| name | test-runner |
| description | Execute Rust tests (unit, integration, doc). Use cargo nextest for fast parallel execution. |
Execute and manage Rust tests for the self-learning memory project.
# Unit tests (fast, <30s)
cargo nextest run --lib
# Integration tests
cargo nextest run --test '*'
# Full suite
cargo nextest run --all
cargo test --doc # doctests (nextest unsupported)
# Quality gates (coverage threshold 90%)
./scripts/quality-gates.sh
| Category | Command | Scope |
|---|---|---|
| Unit | cargo nextest run --lib | Individual functions |
| Integration | cargo nextest run --test '*' | End-to-end workflows |
| Doc | cargo test --doc | Documentation examples |
| Mutation | cargo mutants -p do-memory-core | Test effectiveness |
test_<function>_<scenario>_<expected>#[tokio::test]
async fn test_episode() { let result = async_fn().await; }
#[tokio::test(start_paused = true)]
async fn test_timeout() { /* paused clock */ }
#[tokio::test(flavor = "multi_thread", worker_threads = 4)]
async fn test_concurrent() { /* parallel ops */ }
| Bad | Good |
|---|---|
std::thread::sleep() | tokio::time::sleep().await |
Missing .await | Always await async |
| Issue | Fix |
|---|---|
| Race conditions | cargo test -- --test-threads=1 |
| redb lock errors | Separate DB per test |
| DB connection refused | Check TURSO_URL/TURSO_TOKEN |
cargo llvm-cov --html --output-dir coverage
Related skills: test-patterns for test design, test-optimization for performance-focused test work, and test-fix for failing-suite diagnosis.