AgentStack
SKILL verified MIT Self-run

Test Runner

skill-d-o-hub-rust-self-learning-memory-test-runner · by d-o-hub

Execute Rust tests (unit, integration, doc). Use cargo nextest for fast parallel execution.

No reviews yet
0 installs
14 views
0.0% view→install

Install

$ agentstack add skill-d-o-hub-rust-self-learning-memory-test-runner

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Are you the author of Test Runner? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Test Runner

Execute and manage Rust tests for the self-learning memory project.

Commands

# Unit tests (fast, __`
- **Speed**: <1s per unit test

## Async Testing

```rust
#[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 |

Troubleshooting

| Issue | Fix | |-------|-----| | Race conditions | cargo test -- --test-threads=1 | | redb lock errors | Separate DB per test | | DB connection refused | Check TURSOURL/TURSOTOKEN |

Coverage

cargo llvm-cov --html --output-dir coverage

References

  • ADR-033: Modern Testing Strategy

Related skills: test-patterns for test design, test-optimization for performance-focused test work, and test-fix for failing-suite diagnosis.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.